From: "Steve Wise" <swise@opengridcomputing.com>
To: 'Dan Carpenter' <dan.carpenter@oracle.com>
Cc: 'Doug Ledford' <dledford@redhat.com>,
'Sean Hefty' <sean.hefty@intel.com>,
'Hal Rosenstock' <hal.rosenstock@gmail.com>,
linux-rdma@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: RE: [PATCH] cxgb4: Fix error codes in c4iw_create_cq()
Date: Thu, 13 Jul 2017 14:34:33 +0000 [thread overview]
Message-ID: <005601d2fbe5$25243c60$6f6cb520$@opengridcomputing.com> (raw)
In-Reply-To: <20170713074740.4i2weowvndudqwh6@mwanda>
>
> If one of these kmalloc() calls fails then we return ERR_PTR(0) which is
> NULL. It results in a NULL dereference in the callers.
>
> Fixes: cfdda9d76436 ("RDMA/cxgb4: Add driver for Chelsio T4 RNIC")
> Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
next prev parent reply other threads:[~2017-07-13 14:34 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-13 7:47 [PATCH] cxgb4: Fix error codes in c4iw_create_cq() Dan Carpenter
2017-07-13 14:34 ` Steve Wise [this message]
2017-07-22 17:28 ` 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='005601d2fbe5$25243c60$6f6cb520$@opengridcomputing.com' \
--to=swise@opengridcomputing.com \
--cc=dan.carpenter@oracle.com \
--cc=dledford@redhat.com \
--cc=hal.rosenstock@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=sean.hefty@intel.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;
as well as URLs for NNTP newsgroup(s).