public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Fix incorrect operator precidence
@ 2003-06-22 23:58 Russell King
  0 siblings, 0 replies; only message in thread
From: Russell King @ 2003-06-22 23:58 UTC (permalink / raw)
  To: Linux Kernel List, David Woodhouse

--- orig/drivers/mtd/mtd_blkdevs.c	Sat Jun 14 22:33:57 2003
+++ linux/drivers/mtd/mtd_blkdevs.c	Mon Jun 23 00:43:14 2003
@@ -46,7 +46,7 @@
 	nsect = req->current_nr_sectors;
 	buf = req->buffer;
 
-	if (!req->flags & REQ_CMD)
+	if (!(req->flags & REQ_CMD))
 		return 0;
 
 	if (block + nsect > get_capacity(req->rq_disk))

-- 
Russell King (rmk@arm.linux.org.uk)                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-06-22 23:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-06-22 23:58 [PATCH] Fix incorrect operator precidence Russell King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox