diff options
author | 2020-12-22 12:54:01 -0800 | |
---|---|---|
committer | 2021-09-17 13:59:59 -0400 | |
commit | 0e38225c92c7964482a8bb6b3e37fde4319e965c (patch) | |
tree | e9bf376d2938b8c37c40800af0a0df5c3f224254 /drivers/fpga/fpga-mgr.c | |
parent | sh: fix trivial misannotations (diff) | |
download | linux-dev-0e38225c92c7964482a8bb6b3e37fde4319e965c.tar.xz linux-dev-0e38225c92c7964482a8bb6b3e37fde4319e965c.zip |
sh: check return code of request_irq
request_irq is marked __must_check, but the call in shx3_prepare_cpus
has a void return type, so it can't propagate failure to the caller.
Follow cues from hexagon and just print an error.
Fixes: c7936b9abcf5 ("sh: smp: Hook in to the generic IPI handler for SH-X3 SMP.")
Cc: Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Nick Desaulniers <ndesaulniers@google.com>
Tested-by: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Reviewed-by: Miguel Ojeda <ojeda@kernel.org>
Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions