Stop calling request_irq(), etc. with invalid IRQs in the EDAC drivers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | edac: altera: add IRQ checks for L2 cache and OCRAMdrivers/ | +8 | 0 replies | |
| 2/5 | edac: altera: add IRQ check for Arria10drivers/ | +6 | 0 replies | |
| 3/5 | edac: fsl_ddr: add IRQ checkdrivers/ | +4 | 0 replies | |
| 4/5 | edac: highbank_l2: add IRQ checksdrivers/ | +8 | 0 replies | |
| 5/5 | edac: highbank_mc: add IRQ checkdrivers/ | +4 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Stop calling request_irq(), etc. with invalid IRQs in the EDAC drivers
Here are 5 patches against the 'edac-for-next' branch of the 'ras.git' repo (for the lack of a better branch for fixes?). The affected drivers call platform_get_irq() but largely ignore its result -- they blithely pass the negative error codes to request_irq() (and its ilk) which expects *unsigned* IRQ #. Stop doing that by checking what exactly platform_get_irq() returns.
Sergey Shtylyov (5):
edac: altera: add IRQ checks for L2 cache and OCRAM
edac: altera: add IRQ check for Arria10
edac: fsl_ddr: add IRQ check
edac: highbank_l2: add IRQ checks
edac: highbank_mc: add IRQ check
drivers/edac/altera_edac.c | 17 ++++++++++++++--- drivers/edac/fsl_ddr_edac.c | 4 ++++ drivers/edac/highbank_l2_edac.c | 8 ++++++++ drivers/edac/highbank_mc_edac.c | 4 ++++ 4 files changed, 30 insertions(+), 3 deletions(-)
Signature · 1 line
2.26.3