diff options
| author | Dan Carpenter <[email protected]> | 2021-05-12 13:06:41 +0300 |
|---|---|---|
| committer | Wolfram Sang <[email protected]> | 2021-06-20 23:13:34 +0200 |
| commit | 2269583753d2b8fdd3c861a516ff0cdbfcf4ef0b (patch) | |
| tree | b76ce5803de295571cfd434da9c079d94d44355d /lib/mpi/mpi-cmp.c | |
| 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 <[email protected]>
Reviewed-by: Bence Csókás <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions