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:
Jouni Malinen 2016-06-23 13:23:46 +03:00 committed by Jouni Malinen
parent 468b7b12a6
commit 6527b52ead
1 changed files with 1 additions and 0 deletions

View File

@ -419,6 +419,7 @@ void perror(const char *s);
*/
#ifdef __CHECKER__
#define __force __attribute__((force))
#undef __bitwise
#define __bitwise __attribute__((bitwise))
#else
#define __force