Re: [PATCH v2] common: avoid conflict with __bitwise macro from linux/types.h

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

 



On Mon, Oct 30, 2017 at 11:14:40AM +0100, Beniamino Galvani wrote:
> Undefine the __bitwise macro before defining it to avoid conflicts
> with the one from linux/types.h; the same is done some lines above
> when __CHECKER__ is defined. Fixes the following warning:
> 
>   In file included from ../src/l2_packet/l2_packet_linux.c:15:0:
>   hostap/src/utils/common.h:438:0: warning: "__bitwise" redefined
>    #define __bitwise
> 
>   In file included from /usr/include/linux/filter.h:9:0,
>                    from ../src/l2_packet/l2_packet_linux.c:13:
>   /usr/include/linux/types.h:21:0: note: this is the location of the previous definition
>    #define __bitwise __bitwise__

Thanks, applied.
 
-- 
Jouni Malinen                                            PGP id EFC895FA

_______________________________________________
Hostap mailing list
Hostap@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/hostap



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

  Powered by Linux