Skip to contentSkip to conversation

fix compilation error for mtdblock.c

PATCH New Thomas Schlichter 1 participant 1 message Apr 9, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix compilation error for mtdblock.c

Just added the missing right parenthesis..

Thomas

drivers/mtd/mtdblock.c renamed from drivers/mtd/mtdblock.c.orig +1 -1
@@ -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;