Undefine __bitwise before defining it for sparse
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 23 Jun 2016 10:23:46 +0000 (13:23 +0300)
committerJouni Malinen <j@w1.fi>
Thu, 23 Jun 2016 10:23:46 +0000 (13:23 +0300)
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>
src/utils/common.h

index d19927b..197e4d1 100644 (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