From: "Bence Csókás" <bence98@sch.bme.hu>
To: "Wolfram Sang" <wsa@kernel.org>,
"Dan Carpenter" <dan.carpenter@oracle.com>,
"Bence Csókás" <bence98@sch.bme.hu>,
linux-i2c@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] i2c: cp2615: check for allocation failure in cp2615_i2c_recv()
Date: Sat, 5 Jun 2021 07:17:23 +0200 [thread overview]
Message-ID: <CACCVKEHuT9gHYazLt7+RFrP7hBJCZvisstJay_DEweGGKx6svA@mail.gmail.com> (raw)
In-Reply-To: <YLqQw6Yc07RecKZs@kunai>
Sure, though I had hoped Dan would update his patch so that all
allocation failures return -ENOMEM... Oh well.
Signed-off-by: Bence Csókás<bence98@sch.bme.hu>
Wolfram Sang <wsa@kernel.org> ezt írta (időpont: 2021. jún. 4., P 22:45):
>
> On Wed, May 12, 2021 at 01:06:41PM +0300, Dan Carpenter wrote:
> > We need to add a check for if the kzalloc() fails.
> >
> > Fixes: 4a7695429ead ("i2c: cp2615: add i2c driver for Silicon Labs' CP2615 Digital Audio Bridge")
> > Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
>
> Bence, are you okay with applying this patch as it fixes a bug?
>
next prev parent reply other threads:[~2021-06-05 5:17 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-12 10:06 [PATCH] i2c: cp2615: check for allocation failure in cp2615_i2c_recv() Dan Carpenter
2021-05-12 10:54 ` Bence Csókás
2021-05-12 13:10 ` Dan Carpenter
2021-05-12 13:52 ` Bence Csókás
2021-06-04 20:44 ` Wolfram Sang
2021-06-05 5:17 ` Bence Csókás [this message]
2021-06-20 21:12 ` Wolfram Sang
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=CACCVKEHuT9gHYazLt7+RFrP7hBJCZvisstJay_DEweGGKx6svA@mail.gmail.com \
--to=bence98@sch.bme.hu \
--cc=dan.carpenter@oracle.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-i2c@vger.kernel.org \
--cc=wsa@kernel.org \
/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).