aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorHarshit Mogalapalli <[email protected]>2023-08-24 12:17:10 -0700
committerMark Brown <[email protected]>2023-08-24 21:10:45 +0100
commit8886e1b03669c498f7a24bc5e483f46db5e81f82 (patch)
treeb7b11300d4392a356c896e617f0e364778a2c887 /lib/test_fortify/write_overflow-strncpy-src.c
parent45b4878b0330e255059135dfab4e01d12feb5580 (diff)
ASoC: codecs: Fix error code in aw88261_i2c_probe()
Passing zero to dev_err_probe is a success which is incorrect when i2c_check_functionality() fails. Fix this by passing -ENXIO instead of zero to dev_err_probe(). Fixes: 028a2ae25691 ("ASoC: codecs: Add aw88261 amplifier driver") Reported-by: kernel test robot <[email protected] Reported-by: Dan Carpenter <[email protected] Closes: https://lore.kernel.org/r/[email protected]/ Signed-off-by: Harshit Mogalapalli <[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions