public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* [TRIVIAL PATCH 2.5.67] fix compilation error for mtdblock.c
@ 2003-04-09 12:46 Thomas Schlichter
  0 siblings, 0 replies; only message in thread
From: Thomas Schlichter @ 2003-04-09 12:46 UTC (permalink / raw)
  To: dwmw2; +Cc: linux-mtd, trivial


[-- Attachment #1.1: body text --]
[-- Type: text/plain, Size: 53 bytes --]

Just added the missing right parenthesis..

   Thomas

[-- Attachment #1.2: mtdblock.diff --]
[-- Type: text/x-diff, Size: 443 bytes --]

--- linux-2.5.67/drivers/mtd/mtdblock.c.orig	Wed Apr  9 14:00:10 2003
+++ linux-2.5.67/drivers/mtd/mtdblock.c	Wed Apr  9 14:00:32 2003
@@ -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;

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-09 13:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-09 12:46 [TRIVIAL PATCH 2.5.67] fix compilation error for mtdblock.c Thomas Schlichter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox