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

From: Jens Axboe
Date: Tue Jul 12 2016 - 11:29:26 EST


On 07/12/2016 04:06 AM, weiyj_lk@xxxxxxx wrote:
From: Wei Yongjun <yongjun_wei@xxxxxxxxxxxxxxxxx>

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