RE: [PATCH] ap: Fix build warning about type mismatch

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

 



> --- a/src/utils/common.h
> +++ b/src/utils/common.h
> @@ -441,6 +441,10 @@ void perror(const char *s);  #define BIT(x) (1U <<
> (x))  #endif
> 
> +#ifndef BIT_U8
> +#define BIT_U8(n) (1U << (n))
> +#endif

How is this different from BIT definition just a couple of lines above?
You probably have some other incorrect BIT macro somewhere so you don't take the #ifndef BIT.

> +
>  /*
>   * Definitions for sparse validation
>   * (http://kernel.org/pub/linux/kernel/people/josh/sparse/)
> --
> 2.25.1
> 
> 
> _______________________________________________
> Hostap mailing list
> Hostap@xxxxxxxxxxxxxxxxxxx
> http://lists.infradead.org/mailman/listinfo/hostap

_______________________________________________
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