From: John Levon <levon@movementarian.org>
To: linux-kernel@vger.kernel.org, ambx1@neo.rr.com
Subject: [PATCH] Another bitop on boolean in pnpbios
Date: Mon, 3 Mar 2003 05:42:35 +0000 [thread overview]
Message-ID: <20030303054235.GA58427@compsoc.man.ac.uk> (raw)
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 */
next reply other threads:[~2003-03-03 5:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-03 5:42 John Levon [this message]
2003-03-03 9:56 ` William Lee Irwin III
2003-03-03 20:25 ` John Levon
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030303054235.GA58427@compsoc.man.ac.uk \
--to=levon@movementarian.org \
--cc=ambx1@neo.rr.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®