]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Another bitop on boolean in pnpbios
authorJohn Levon <levon@movementarian.org>
Mon, 3 Mar 2003 10:13:49 +0000 (02:13 -0800)
committerLinus Torvalds <torvalds@home.transmeta.com>
Mon, 3 Mar 2003 10:13:49 +0000 (02:13 -0800)
include/linux/pnpbios.h

index 81ea18989075ab4a2ab2c243859770cac119187b..1c1ec9c55d788dbb6656e964f537584e804fa2ab 100644 (file)
@@ -85,8 +85,8 @@
 #define PNPBIOS_BOOTABLE               0x0010
 #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_static(x) (((x)->flags & 0x0100) == 0x0000)
+#define pnpbios_is_dynamic(x) ((x)->flags & 0x0080)
 
 /* 0x8000 through 0xffff are OEM defined */