Skip to content

Stop calling request_irq(), etc. with invalid IRQs in the EDAC drivers

Sergey Shtylyov linux-edac 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5edac: altera: add IRQ checks for L2 cache and OCRAMdrivers/edac/altera_edac.c+8 -00 replies
2/5edac: altera: add IRQ check for Arria10drivers/edac/altera_edac.c+6 -30 replies
3/5edac: fsl_ddr: add IRQ checkdrivers/edac/fsl_ddr_edac.c+4 -00 replies
4/5edac: highbank_l2: add IRQ checksdrivers/edac/highbank_l2_edac.c+8 -00 replies
5/5edac: highbank_mc: add IRQ checkdrivers/edac/highbank_mc_edac.c+4 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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