diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-09-05 14:32:53 +0200 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2012-09-28 07:35:14 +0200 |
commit | f22cf8eb485260ac6e32a614121d44998d83a69a (patch) | |
tree | 9dd48f6f12bff4615f4c1a8eff8cdb13b2175ee6 /drivers/virtio/Kconfig | |
parent | virtio-blk: Add REQ_FLUSH and REQ_FUA support to bio path (diff) | |
download | linux-f22cf8eb485260ac6e32a614121d44998d83a69a.tar.xz linux-f22cf8eb485260ac6e32a614121d44998d83a69a.zip |
virtio-blk: fix NULL checking in virtblk_alloc_req()
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)
Diffstat (limited to 'drivers/virtio/Kconfig')
0 files changed, 0 insertions, 0 deletions