Please note: This project is no longer active. The website is kept online for historic purposes only.
If you´re looking for a Linux driver for your Atheros WLAN device, you should continue here .

Ticket #2354 (new defect)

Opened 12 years ago

madwifi fails to compile in ath_hal/ar5212/ar2316.c due to warnings about signedness

Reported by: info@pc-tiede.de Assigned to:
Priority: blocker Milestone:
Component: madwifi: driver Version: trunk
Keywords: Cc:
Patch is attached: 0 Pending: 0

Description

Compiling madwifi-trung r4100 leads to the following output:

  CC [M]  /usr/src/madwifi/ath_hal/ar5212/ar2316.o
cc1: warnings being treated as errors
/usr/src/madwifi/ath_hal/ar5212/ar2316.c: In function 'GetLowerUpperIndex':
/usr/src/madwifi/ath_hal/ar5212/ar2316.c:263: error: pointer targets in initialization differ in signedness
/usr/src/madwifi/ath_hal/ar5212/ar2316.c:279: error: pointer targets in assignment differ in signedness
/usr/src/madwifi/ath_hal/ar5212/ar2316.c: In function 'ar2316FillVpdTable':
/usr/src/madwifi/ath_hal/ar5212/ar2316.c:323: error: pointer targets in passing argument 2 of 'GetLowerUpperIndex' differ in signedness
/usr/src/madwifi/ath_hal/ar5212/ar2316.c: In function 'ar2316getGainBoundariesAndPdadcsForPowers':
/usr/src/madwifi/ath_hal/ar5212/ar2316.c:418: error: pointer targets in passing argument 5 of 'ar2316FillVpdTable' differ in signedness
/usr/src/madwifi/ath_hal/ar5212/ar2316.c:423: error: pointer targets in passing argument 5 of 'ar2316FillVpdTable' differ in signedness
make[3]: *** [/usr/src/madwifi/ath_hal/ar5212/ar2316.o] Error 1

Platform is AMD64 (x86_64), Gentoo Hardened Linux, Kernel 2.6.28-r9 (patched for Gentoo Hardened)

Commandline used: # make KERNELPATH=/usr/src/linux