Dave wrote: > Pavel Roskin wrote: >> On Wed, 2007-09-12 at 22:09 +0100, Dave wrote: >>> Implements firmware download to RAM for Lucent-Agere firmware. >>> Firmware download is a requirement to implement WPA on these cards. >> >> Please use sparse to check endianess and other issues. You can use this >> command once sparse is in PATH: >> >> make C=2 CF="-Wall -D__CHECK_ENDIAN__" Either that was painless, or I did it wrong. Using sparse 3.0 the only warnings were in orinoco.c, related to the use of ARRAY_SIZE. Errors are false positives. $ make O=../build C=2 CF="-Wall -D__CHECK_ENDIAN__" > ../sparse.log 2>&1 <snip> CHECK /usr/src/linux-current/linux-2.6/drivers/net/irda/sir_dongle.c CHECK /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco.c /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco.c:1391:27: error: cannot size expression /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco.c:2542:35: error: cannot size expression /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco.c:2771:24: error: cannot size expression /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco.c:2773:18: error: cannot size expression /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco.c:3118:19: error: cannot size expression /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco.c:3123:29: error: cannot size expression /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco.c:3357:18: error: cannot size expression /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco.c:3393:2: error: cannot size expression /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco.c:3421:20: error: cannot size expression /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco.c:3426:13: error: cannot size expression /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco.c:4007:38: error: cannot size expression /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco.c:4278:18: error: cannot size expression /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco.c:4279:17: error: cannot size expression /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco.c:4280:22: error: cannot size expression CHECK /usr/src/linux-current/linux-2.6/drivers/net/wireless/hermes.c CHECK /usr/src/linux-current/linux-2.6/drivers/net/wireless/hermes_dld.c CHECK /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco_cs.c CHECK /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco_plx.c CHECK /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco_pci.c CHECK /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco_tmd.c CHECK /usr/src/linux-current/linux-2.6/drivers/net/wireless/orinoco_nortel.c CHECK /usr/src/linux-current/linux-2.6/drivers/net/wireless/spectrum_cs.c CHECK /usr/src/linux-current/linux-2.6/drivers/net/wireless/zd1201.c <snip> Regards, Dave. - To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html