diff options
author | Nick Desaulniers <[email protected]> | 2020-12-22 12:54:01 -0800 |
---|---|---|
committer | Rich Felker <[email protected]> | 2021-09-17 13:59:59 -0400 |
commit | 0e38225c92c7964482a8bb6b3e37fde4319e965c (patch) | |
tree | e9bf376d2938b8c37c40800af0a0df5c3f224254 /drivers/fpga/altera-fpga2sdram.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 <[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/altera-fpga2sdram.c')
0 files changed, 0 insertions, 0 deletions