summaryrefslogtreecommitdiff
path: root/kernel/irq_work.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2021-09-14 13:53:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-27 09:32:38 +0200
commitc53c054e7432f29246d4dc6be0a6f397863f2d37 (patch)
tree9d94c257b21b14a955b6642ee8b484d84dfa0db3 /kernel/irq_work.c
parent87cb0f085a8ca7d8d23f0fdec7c0083df3cd0d78 (diff)
iio: ssp_sensors: fix error code in ssp_print_mcu_debug()
commit 4170d3dd1467e9d78cb9af374b19357dc324b328 upstream. The ssp_print_mcu_debug() function should return negative error codes on error. Returning "length" is meaningless. This change does not affect runtime because the callers only care about zero/non-zero. Reported-by: Jonathan Cameron <jic23@kernel.org> Fixes: 50dd64d57eee ("iio: common: ssp_sensors: Add sensorhub driver") Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Link: https://lore.kernel.org/r/20210914105333.GA11657@kili Cc: <Stable@vger.kernel.org> Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions