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

From: Miles Bader (miles@lsi.nec.co.jp)
Date: Tue Apr 08 2003 - 23:20:46 EST


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/



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:17 EST