git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c85a1f9
)
virtio-blk: fix NULL checking in virtblk_alloc_req()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Wed, 5 Sep 2012 12:32:53 +0000
(15:32 +0300)
committer
Rusty Russell
<rusty@rustcorp.com.au>
Fri, 28 Sep 2012 05:35:14 +0000
(15:05 +0930)
Smatch complains about the inconsistent NULL checking here. Fix it to
return NULL on failure.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (fixed accidental deletion)
drivers/block/virtio_blk.c
patch
|
blob
|
history
diff --cc
drivers/block/virtio_blk.c
Simple merge