public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@fb.com>
To: <weiyj_lk@163.com>, Keith Busch <keith.busch@intel.com>,
	Christoph Hellwig <hch@lst.de>
Cc: Wei Yongjun <yongjun_wei@trendmicro.com.cn>,
	<linux-nvme@lists.infradead.org>, <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH -next] nvme-rdma: fix the return value of nvme_rdma_reinit_request()
Date: Tue, 12 Jul 2016 08:27:22 -0700	[thread overview]
Message-ID: <57850C5A.1050208@fb.com> (raw)
In-Reply-To: <1468321577-16278-1-git-send-email-weiyj_lk@163.com>

On 07/12/2016 04:06 AM, weiyj_lk@163.com wrote:
> From: Wei Yongjun <yongjun_wei@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

  parent reply	other threads:[~2016-07-12 15:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-12 11:06 [PATCH -next] nvme-rdma: fix the return value of nvme_rdma_reinit_request() weiyj_lk
2016-07-12 14:18 ` J Freyensee
2016-07-12 15:27 ` Jens Axboe [this message]
2016-07-13 10:36 ` Sagi Grimberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=57850C5A.1050208@fb.com \
    --to=axboe@fb.com \
    --cc=hch@lst.de \
    --cc=keith.busch@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=weiyj_lk@163.com \
    --cc=yongjun_wei@trendmicro.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox