[patch] nvmet: fix an error code

Jens Axboe axboe at kernel.dk
Thu Jul 7 07:37:58 PDT 2016


On 07/07/2016 02:15 AM, Dan Carpenter wrote:
> We accidentally return zero here when ERR_PTR(-ENOMEM) is intended.
>
> Fixes: a07b4970f464 ('nvmet: add a generic NVMe target')
> Signed-off-by: Dan Carpenter <dan.carpenter at oracle.com>

Thanks Dan, added.

-- 
Jens Axboe




More information about the Linux-nvme mailing list