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

Wolfram Sang
2021-06-20T21:12:57Z

[-- Attachment #1: Type: text/plain, Size: 319 bytes --]

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>

Applied to for-current, thanks!

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]