From: Doug Ledford <dledford@redhat.com>
To: Christophe JAILLET <christophe.jaillet@wanadoo.fr>,
sean.hefty@intel.com, hal.rosenstock@gmail.com,
Ram.Amrani@Cavium.com, Michal.Kalderon@Cavium.com,
rajesh.borundia@Cavium.com, weiyongjun1@huawei.com
Cc: linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org,
kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] RDMA/qedr: Fix some error handling
Date: Sun, 19 Feb 2017 08:59:39 -0500 [thread overview]
Message-ID: <1487512779.86943.118.camel@redhat.com> (raw)
In-Reply-To: <20170218112815.9329-1-christophe.jaillet@wanadoo.fr>
[-- Attachment #1: Type: text/plain, Size: 820 bytes --]
On Sat, 2017-02-18 at 12:28 +0100, Christophe JAILLET wrote:
> 'qedr_alloc_pbl_tbl()' can not return NULL.
>
> In qedr_init_user_queue():
> - simplify the test for the return value, no need to test for NULL
> - propagate the error pointer if needed, otherwise 0 (success) is
> returned.
> This is spurious.
>
> In init_mr_info():
> - test the return value with IS_ERR
> - propagate the error pointer if needed instead of an exlictit
> -ENOMEM.
> This is a no-op as the only error pointer that we can have here is
> already -ENOMEM
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Thanks, applied.
--
Doug Ledford <dledford@redhat.com>
GPG KeyID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
prev parent reply other threads:[~2017-02-19 13:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-18 11:28 Christophe JAILLET
2017-02-19 11:46 ` Amrani, Ram
2017-02-19 13:59 ` 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=1487512779.86943.118.camel@redhat.com \
--to=dledford@redhat.com \
--cc=Michal.Kalderon@Cavium.com \
--cc=Ram.Amrani@Cavium.com \
--cc=christophe.jaillet@wanadoo.fr \
--cc=hal.rosenstock@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=rajesh.borundia@Cavium.com \
--cc=sean.hefty@intel.com \
--cc=weiyongjun1@huawei.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
Powered by JetHome