From: Doug Ledford <dledford@redhat.com>
To: Dan Carpenter <dan.carpenter@oracle.com>,
Selvin Xavier <selvin.xavier@broadcom.com>,
Parav Pandit <parav.pandit@emulex.com>
Cc: Devesh Sharma <devesh.sharma@broadcom.com>,
Sean Hefty <sean.hefty@intel.com>,
Hal Rosenstock <hal.rosenstock@gmail.com>,
Leon Romanovsky <leon@kernel.org>,
Dasaratharaman Chandramouli
<dasaratharaman.chandramouli@intel.com>,
Or Gerlitz <ogerlitz@mellanox.com>,
ssh10 <mayhs11saini@gmail.com>,
Artemy Kovalyov <artemyko@mellanox.com>,
linux-rdma@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH 2/2] RDMA/ocrdma: Fix error codes in ocrdma_create_srq()
Date: Sat, 22 Jul 2017 13:29:30 -0400 [thread overview]
Message-ID: <730f032e-1960-1f32-3cb0-7ab8e6c51161@redhat.com> (raw)
In-Reply-To: <20170713074649.tmcxi3a3qpilyomq@mwanda>
[-- Attachment #1.1: Type: text/plain, Size: 550 bytes --]
On 7/13/2017 3:46 AM, Dan Carpenter wrote:
> If either of these allocations fail then we return ERR_PTR(0). That's
> equivalent to NULL and results in a NULL pointer dereference in the
> caller.
>
> Fixes: fe2caefcdf58 ("RDMA/ocrdma: Add driver for Emulex OneConnect IBoE RDMA adapter")
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
This was accepted into 4.13-rc, thanks.
--
Doug Ledford <dledford@redhat.com>
GPG Key ID: B826A3330E572FDD
Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 884 bytes --]
next prev parent reply other threads:[~2017-07-22 17:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-13 7:46 [PATCH 1/2] RDMA/ocrdma: Fix an error code in ocrdma_alloc_pd() Dan Carpenter
2017-07-13 7:46 ` [PATCH 2/2] RDMA/ocrdma: Fix error codes in ocrdma_create_srq() Dan Carpenter
2017-07-22 17:29 ` Doug Ledford [this message]
2017-07-22 17:29 ` [PATCH 1/2] RDMA/ocrdma: Fix an error code in ocrdma_alloc_pd() Doug Ledford
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=730f032e-1960-1f32-3cb0-7ab8e6c51161@redhat.com \
--to=dledford@redhat.com \
--cc=artemyko@mellanox.com \
--cc=dan.carpenter@oracle.com \
--cc=dasaratharaman.chandramouli@intel.com \
--cc=devesh.sharma@broadcom.com \
--cc=hal.rosenstock@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=leon@kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=mayhs11saini@gmail.com \
--cc=ogerlitz@mellanox.com \
--cc=parav.pandit@emulex.com \
--cc=sean.hefty@intel.com \
--cc=selvin.xavier@broadcom.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