lkml.org 
[lkml]   [2003]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Another bitop on boolean in pnpbios

First obvious case from -Wbitop-boolean

Not tested ...

regards,
john


--- linux-linus/include/linux/pnpbios.h 2003-01-13 22:43:41.000000000 +0000
+++ linux/include/linux/pnpbios.h 2003-03-03 05:46:42.000000000 +0000
@@ -86,7 +86,7 @@
#define PNPBIOS_DOCK 0x0020
#define PNPBIOS_REMOVABLE 0x0040
#define pnpbios_is_static(x) ((x)->flags & 0x0100) == 0x0000
-#define pnpbios_is_dynamic(x) (x)->flags & 0x0080
+#define pnpbios_is_dynamic(x) ((x)->flags & 0x0080)

/* 0x8000 through 0xffff are OEM defined */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.026 / U:1.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site