Files
linux/arch/sh/kernel
Nick Desaulniers 1c39a91200 sh: check return code of request_irq
[ Upstream commit 0e38225c92 ]

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: c7936b9abc ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-16 12:16:15 +09:00
..
2023-05-16 12:16:15 +09:00
2010-01-12 15:22:26 +09:00
2010-06-02 16:31:42 +09:00
2010-11-01 09:49:04 -04:00
2010-10-07 14:08:55 +01:00
2014-06-04 16:53:52 -07:00
2012-05-21 17:54:01 +09:00
2009-09-01 17:38:32 +09:00
2016-05-20 17:58:30 -07:00
2010-06-14 15:16:53 +09:00
2012-03-28 18:30:03 +01:00
2009-03-18 18:57:43 +09:00
2016-03-17 19:45:44 +00:00
2009-03-10 12:55:40 +09:00
2016-08-05 03:29:44 +00:00
2016-08-05 03:29:44 +00:00
2011-07-26 16:49:47 -07:00