[PATCH] Add a missing right-paren in drivers/mtd/mtdblock.c

Miles Bader (miles@lsi.nec.co.jp)
Wed, 9 Apr 2003 13:20:46 +0900 (JST)


diff -ruN -X../cludes linux-2.5.67-moo.orig/drivers/mtd/mtdblock.c linux-2.5.67-moo/drivers/mtd/mtdblock.c
--- linux-2.5.67-moo.orig/drivers/mtd/mtdblock.c 2003-04-08 10:15:42.000000000 +0900
+++ linux-2.5.67-moo/drivers/mtd/mtdblock.c 2003-04-08 14:49:37.000000000 +0900
@@ -388,7 +388,7 @@
struct mtdblk_dev *mtdblk;
unsigned int res;

- while ((req = elv_next_request(&mtd_queue) != NULL) {
+ while ((req = elv_next_request(&mtd_queue)) != NULL) {
struct mtdblk_dev **p = req->rq_disk->private_data;
spin_unlock_irq(mtd_queue.queue_lock);
mtdblk = *p;
-
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/