aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorMarcus Folkesson <[email protected]>2022-09-27 11:25:37 +0200
committerJonathan Cameron <[email protected]>2022-10-17 08:51:26 +0100
commita83695a666eb3541873c3c9734ec4e1d10ca2d7f (patch)
tree8bb0b68cd25aa7ec7c1e076bbe29072f0ece337b /lib/test_fortify/write_overflow-strncpy-src.c
parent7578847b5949db3a75163908bd99c46d27e8b19f (diff)
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 <[email protected]> Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Marcus Folkesson <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions