diff options
author | 2021-05-12 13:06:41 +0300 | |
---|---|---|
committer | 2021-06-20 23:13:34 +0200 | |
commit | 2269583753d2b8fdd3c861a516ff0cdbfcf4ef0b (patch) | |
tree | b76ce5803de295571cfd434da9c079d94d44355d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | i2c: i801: Ensure that SMBHSTSTS_INUSE_STS is cleared when leaving i801_access (diff) | |
download | linux-dev-2269583753d2b8fdd3c861a516ff0cdbfcf4ef0b.tar.xz linux-dev-2269583753d2b8fdd3c861a516ff0cdbfcf4ef0b.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions