lkml.org 
[lkml]   [2003]   [Apr]   [9]   [last100]   RSS Feed
Views: [more markup]   [less markup]   [headers]   [forward]  
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Add a missing right-paren in drivers/mtd/mtdblock.c
DateWed, 9 Apr 2003 13:20:46 +0900 (JST)
From(Miles Bader)
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/
\
 
 \ /
  Last update: 2005-03-22 12:34    [from the cache]
©2003-2008