NVMe: fix error return checking from blk_mq_alloc_request()
authorJens Axboe <axboe@fb.com>
Wed, 10 Dec 2014 20:02:44 +0000 (13:02 -0700)
committerJens Axboe <axboe@fb.com>
Wed, 10 Dec 2014 20:02:44 +0000 (13:02 -0700)
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 <axboe@fb.com>
drivers/block/nvme-core.c

Simple merge