Commit 1f3a6f5f authored by Randy Dunlap's avatar Randy Dunlap Committed by Linus Torvalds

[PATCH] Fix sparse warning in drivers/block/ll_rw_blk.c

From: Mika Kukkonen <mika@osdl.org>
Signed-off-by: default avatarRandy Dunlap <rddunlap@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 321bb472
...@@ -2667,7 +2667,7 @@ static int __end_that_request_first(struct request *req, int uptodate, ...@@ -2667,7 +2667,7 @@ static int __end_that_request_first(struct request *req, int uptodate,
} }
total_bytes = bio_nbytes = 0; total_bytes = bio_nbytes = 0;
while ((bio = req->bio)) { while ((bio = req->bio) != NULL) {
int nbytes; int nbytes;
if (nr_bytes >= bio->bi_size) { if (nr_bytes >= bio->bi_size) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment