Undefine __bitwise before defining it for sparse
This gets rid of a compiler warning due to a bit different construction in linux/types.h. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
468b7b12a6
commit
6527b52ead
1 changed files with 1 additions and 0 deletions
|
@ -419,6 +419,7 @@ void perror(const char *s);
|
||||||
*/
|
*/
|
||||||
#ifdef __CHECKER__
|
#ifdef __CHECKER__
|
||||||
#define __force __attribute__((force))
|
#define __force __attribute__((force))
|
||||||
|
#undef __bitwise
|
||||||
#define __bitwise __attribute__((bitwise))
|
#define __bitwise __attribute__((bitwise))
|
||||||
#else
|
#else
|
||||||
#define __force
|
#define __force
|
||||||
|
|
Loading…
Add table
Reference in a new issue