Search Linux Wireless

ath9k on arm

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



/usr/src/devel/arch/arm/include/asm/string.h:42:1: warning: this is the location of the previous definition
In file included from drivers/net/wireless/ath9k/recv.c:21:
drivers/net/wireless/ath9k/core.h:88:1: warning: "memzero" redefined
In file included from include/linux/string.h:19,
                 from include/linux/bitmap.h:8,
                 from include/linux/nodemask.h:89,
                 from include/linux/mmzone.h:16,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from drivers/net/wireless/ath9k/core.h:23,
                 from drivers/net/wireless/ath9k/recv.c:21:
/usr/src/devel/arch/arm/include/asm/string.h:42:1: warning: this is the location of the previous definition
In file included from drivers/net/wireless/ath9k/xmit.c:21:
drivers/net/wireless/ath9k/core.h:88:1: warning: "memzero" redefined
In file included from include/linux/string.h:19,
                 from include/linux/bitmap.h:8,
                 from include/linux/nodemask.h:89,
                 from include/linux/mmzone.h:16,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from drivers/net/wireless/ath9k/core.h:23,
                 from drivers/net/wireless/ath9k/xmit.c:21:
/usr/src/devel/arch/arm/include/asm/string.h:42:1: warning: this is the location of the previous definition
In file included from drivers/net/wireless/ath9k/rc.c:22:
drivers/net/wireless/ath9k/core.h:88:1: warning: "memzero" redefined
In file included from include/linux/string.h:19,
                 from include/linux/bitmap.h:8,
                 from include/linux/nodemask.h:89,
                 from include/linux/mmzone.h:16,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from drivers/net/wireless/ath9k/core.h:23,
                 from drivers/net/wireless/ath9k/rc.c:22:
/usr/src/devel/arch/arm/include/asm/string.h:42:1: warning: this is the location of the previous definition
In file included from drivers/net/wireless/ath9k/core.c:19:
drivers/net/wireless/ath9k/core.h:88:1: warning: "memzero" redefined
In file included from include/linux/string.h:19,
                 from include/linux/bitmap.h:8,
                 from include/linux/nodemask.h:89,
                 from include/linux/mmzone.h:16,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from drivers/net/wireless/ath9k/core.h:23,
                 from drivers/net/wireless/ath9k/core.c:19:
/usr/src/devel/arch/arm/include/asm/string.h:42:1: warning: this is the location of the previous definition
(etc)


/* XXX: remove */
#define memzero(_buf, _len) memset(_buf, 0, _len)

I agree. asap, please.


Practically nothing in arm uses memzero() so I'd suggest that this
quite risky definition be removed from arm also.  Just use memset.
--
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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux