diff options
author | 2022-09-27 11:25:37 +0200 | |
---|---|---|
committer | 2022-10-17 08:51:26 +0100 | |
commit | a83695a666eb3541873c3c9734ec4e1d10ca2d7f (patch) | |
tree | 8bb0b68cd25aa7ec7c1e076bbe29072f0ece337b /tools/perf/scripts/python/export-to-sqlite.py | |
parent | iio: adc: mcp3911: fix sizeof() vs ARRAY_SIZE() bug (diff) | |
download | linux-dev-a83695a666eb3541873c3c9734ec4e1d10ca2d7f.tar.xz linux-dev-a83695a666eb3541873c3c9734ec4e1d10ca2d7f.zip |
iio: adc: mcp3911: return proper error code on failure to allocate trigger
smatch warnings:
drivers/iio/adc/mcp3911.c:441 mcp3911_probe() warn: passing zero to 'PTR_ERR'
Fixes: 08a65f61db69 ("iio: adc: mcp3911: add support for interrupts")
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Link: https://lore.kernel.org/r/20220927092537.94663-1-marcus.folkesson@gmail.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions