[PATCH -next] nvme-rdma: fix the return value of nvme_rdma_reinit_request()

Jens Axboe axboe at fb.com
Tue Jul 12 08:27:22 PDT 2016


On 07/12/2016 04:06 AM, weiyj_lk at 163.com wrote:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
>
> PTR_ERR should be applied before its argument is reassigned, otherwise the
> return value will be set to 0, not error code.

Applied, thanks.

-- 
Jens Axboe




More information about the Linux-nvme mailing list