[patch -next] NVMe: blk_mq_alloc_request() returns error pointers

Jens Axboe axboe at kernel.dk
Wed Nov 5 12:41:11 PST 2014


On 11/05/2014 01:39 PM, Dan Carpenter wrote:
> We recently converted this to blk_mq but the error checks have to be
> updated to check for IS_ERR() instead of NULL.

Ah good catch, thanks Dan.

-- 
Jens Axboe




More information about the Linux-nvme mailing list