From 06d9c9cc96934c1d6d25b256405862cac4a9d1ed Mon Sep 17 00:00:00 2001 From: John Levon Date: Mon, 3 Mar 2003 02:13:49 -0800 Subject: [PATCH] [PATCH] Another bitop on boolean in pnpbios --- include/linux/pnpbios.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/linux/pnpbios.h b/include/linux/pnpbios.h index 81ea18989075a..1c1ec9c55d788 100644 --- a/include/linux/pnpbios.h +++ b/include/linux/pnpbios.h @@ -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 */ -- 2.53.0