diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2021-05-12 13:06:41 +0300 |
---|---|---|
committer | Wolfram Sang <wsa@kernel.org> | 2021-06-20 23:13:34 +0200 |
commit | 2269583753d2b8fdd3c861a516ff0cdbfcf4ef0b (patch) | |
tree | b76ce5803de295571cfd434da9c079d94d44355d /drivers/parport | |
parent | 065b6211a87746e196b56759a70c7851418dd741 (diff) |
i2c: cp2615: check for allocation failure in cp2615_i2c_recv()
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>
Reviewed-by: Bence Csókás <bence98@sch.bme.hu>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
Diffstat (limited to 'drivers/parport')
0 files changed, 0 insertions, 0 deletions