diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2003-04-07 22:33:12 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2003-04-07 22:33:12 -0700 |
| commit | deeefec860847a1cc72e822c2b5c4ae542894490 (patch) | |
| tree | 588a8cc6852757c68375cc85baa33b28857d51f3 | |
| parent | 15b1d32152d8df09ddf22e044b494335af8fd7f1 (diff) | |
Fix mtdblock.c compile. From Adrian Bunk.
| -rw-r--r-- | drivers/mtd/mtdblock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/mtdblock.c b/drivers/mtd/mtdblock.c index 34bcc7a56e4a..248dcc6d4050 100644 --- a/drivers/mtd/mtdblock.c +++ b/drivers/mtd/mtdblock.c @@ -388,7 +388,7 @@ static void handle_mtdblock_request(void) 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; |
