Thread (7 messages) 7 messages, 3 authors, 2021-06-20

Re: [PATCH] i2c: cp2615: check for allocation failure in cp2615_i2c_recv()

From: Bence Csókás <bence98@sch.bme.hu>
Date: 2021-06-05 05:17:38
Also in: kernel-janitors

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 [off-list ref] ezt írta (időpont: 2021. jún. 4., P 22:45):
On Wed, May 12, 2021 at 01:06:41PM +0300, Dan Carpenter wrote:
quoted
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 <redacted>
Bence, are you okay with applying this patch as it fixes a bug?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help