From: Jens Axboe Date: Wed, 10 Dec 2014 20:02:44 +0000 (-0700) Subject: NVMe: fix error return checking from blk_mq_alloc_request() X-Git-Tag: omap-for-v3.20/drop-legacy-3517~91^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=97fe383222cb8a01fb67a8823498ad2edcc20b35;p=pandora-kernel.git NVMe: fix error return checking from blk_mq_alloc_request() We return an error pointer or the request, not NULL. Half the call paths got it right, the others didn't. Fix those up. Signed-off-by: Jens Axboe --- Reading git-diff-tree failed