public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Doug Ledford <dledford@redhat.com>
To: Leon Romanovsky <leon@kernel.org>, Wei Yongjun <weiyj.lk@gmail.com>
Cc: Sagi Grimberg <sagi@grimberg.me>,
	Sean Hefty <sean.hefty@intel.com>,
	Hal Rosenstock <hal.rosenstock@gmail.com>,
	linux-rdma@vger.kernel.org, target-devel@vger.kernel.org
Subject: Re: [PATCH v2] iser-target: fix error return code in isert_alloc_login_buf()
Date: Mon, 22 Aug 2016 14:11:11 -0400	[thread overview]
Message-ID: <eea52d82-9470-680f-636e-c2dbb6fb02ec@redhat.com> (raw)
In-Reply-To: <20160807130806.GR27667@leon.nu>


[-- Attachment #1.1: Type: text/plain, Size: 659 bytes --]

On 8/7/2016 9:08 AM, Leon Romanovsky wrote:
> On Sun, Aug 07, 2016 at 12:20:38PM +0000, Wei Yongjun wrote:
>> Fix to return error code -ENOMEM from the alloc error handling
>> case instead of 0, as done elsewhere in this function.
>>
>> Signed-off-by: Wei Yongjun <weiyj.lk@gmail.com>
>> Acked-by: Sagi Grimberg <sagi@grimberg.me>
>> ---
>> v1 -> v2: fix with Leon's comment
>> ---
>>  drivers/infiniband/ulp/isert/ib_isert.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> Thanks,
> Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
> 

Thanks, applied.

-- 
Doug Ledford <dledford@redhat.com>
    GPG Key ID: 0E572FDD


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]

      reply	other threads:[~2016-08-22 18:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-05 13:49 [PATCH] iser-target: Fix error return code in isert_alloc_login_buf() Wei Yongjun
2016-08-05 14:36 ` Leon Romanovsky
     [not found]   ` <20160805143609.GM27667-2ukJVAZIZ/Y@public.gmane.org>
2016-08-07  9:17     ` Sagi Grimberg
     [not found] ` <1470404968-17339-1-git-send-email-weiyj.lk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2016-08-07 12:20   ` [PATCH v2] iser-target: fix " Wei Yongjun
2016-08-07 13:08     ` Leon Romanovsky
2016-08-22 18:11       ` Doug Ledford [this message]

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=eea52d82-9470-680f-636e-c2dbb6fb02ec@redhat.com \
    --to=dledford@redhat.com \
    --cc=hal.rosenstock@gmail.com \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=sagi@grimberg.me \
    --cc=sean.hefty@intel.com \
    --cc=target-devel@vger.kernel.org \
    --cc=weiyj.lk@gmail.com \
    /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