diff options
author | Nuno Sa <nuno.sa@analog.com> | 2021-04-22 12:19:04 +0200 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2021-05-17 13:49:06 +0100 |
commit | ab3df79782e7d8a27a58576c9b4e8c6c4879ad79 (patch) | |
tree | 6bedee27aff90128441a6788b84652442f6751e7 /init | |
parent | d877539ad8e8fdde9af69887055fec6402be1a13 (diff) |
iio: adis16400: do not return ints in irq handlers
On an IRQ handler we should not return normal error codes as 'irqreturn_t'
is expected.
Not necessary to apply to stable as the original check cannot fail and
as such the bug cannot actually occur.
Fixes: 5eda3550a3cc1 ("staging:iio:adis16400: Preallocate transfer message")
Reviewed-by: Alexandru Ardelean <ardeleanalex@gmail.com>
Signed-off-by: Nuno Sa <nuno.sa@analog.com>
Link: https://lore.kernel.org/r/20210422101911.135630-3-nuno.sa@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions