From: Dan Carpenter Date: Wed, 5 Sep 2012 12:32:53 +0000 (+0300) Subject: virtio-blk: fix NULL checking in virtblk_alloc_req() X-Git-Tag: omap-for-v3.7-rc1/fixes-hwmod-clock-signed-v3~5^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f22cf8eb485260ac6e32a614121d44998d83a69a;p=pandora-kernel.git 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 Signed-off-by: Rusty Russell (fixed accidental deletion) --- Reading git-diff-tree failed