[PATCH] ap: Fix build warning about type mismatch
Otcheretianski, Andrei
andrei.otcheretianski at intel.com
Tue Dec 26 02:08:38 PST 2023
> --- 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 at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/hostap
More information about the Hostap
mailing list