diff options
| author | Nick Desaulniers <[email protected]> | 2020-12-22 20:54:01 +0000 |
|---|---|---|
| committer | Rich Felker <[email protected]> | 2021-09-17 17:59:59 +0000 |
| commit | 0e38225c92c7964482a8bb6b3e37fde4319e965c (patch) | |
| tree | e9bf376d2938b8c37c40800af0a0df5c3f224254 /drivers/fpga/fpga-mgr.c | |
| parent | sh: fix trivial misannotations (diff) | |
| download | kernel-0e38225c92c7964482a8bb6b3e37fde4319e965c.tar.gz kernel-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 <[email protected]>
Cc: Paul Mundt <[email protected]>
Reported-by: Guenter Roeck <[email protected]>
Signed-off-by: Nick Desaulniers <[email protected]>
Tested-by: John Paul Adrian Glaubitz <[email protected]>
Reviewed-by: Miguel Ojeda <[email protected]>
Signed-off-by: Rich Felker <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
