diff options
author | Nick Desaulniers <ndesaulniers@google.com> | 2020-12-22 12:54:01 -0800 |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2021-09-17 13:59:59 -0400 |
commit | 0e38225c92c7964482a8bb6b3e37fde4319e965c (patch) | |
tree | e9bf376d2938b8c37c40800af0a0df5c3f224254 /net/unix/af_unix.c | |
parent | ca42bc4b7bda7c6d68f1cc97c27fc8ff7385c4c7 (diff) |
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 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions