[PATCH] Fix incorrect operator precidence

Russell King (rmk@arm.linux.org.uk)
Mon, 23 Jun 2003 00:58:05 +0100


--- 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

- 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/