]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/asm-sh/bug.h
[MAC80211]: only honor IW_SCAN_THIS_ESSID in STA, IBSS, and AP modes
[linux-2.6-omap-h63xx.git] / include / asm-sh / bug.h
index 46f925c815aca9918823e4b23607b1e50e833cd4..a78d482e8b2f378969fc86b907f8a1625b83b1bd 100644 (file)
@@ -61,7 +61,7 @@ do {                                                  \
 } while (0)
 
 #define WARN_ON(x) ({                                          \
-       typeof(x) __ret_warn_on = (x);                          \
+       int __ret_warn_on = !!(x);                              \
        if (__builtin_constant_p(__ret_warn_on)) {              \
                if (__ret_warn_on)                              \
                        __WARN();                               \