[PATCH 00/10] EDAC/altera: Address sashiko reviews part 1

From: Dinh Nguyen

Date: Mon Jul 27 2026 - 09:35:39 EST


This is the first set of patches addressing sashiko reviews. I've tried
to the best of my ability to decipher hallucinations and actually bugs
found. There are a few more and I anticipate another series, but I wanted
to keep the series small and handle the most critical bugs found first.

The most important patch is in this series is "EDAC/altera: Add
suppress_bind_attrs so driver cannot get unbound". Because this driver
never tested against bind/unbind, this bug was not observed. Without
this patch, an unbind/bind would cause the system to crash.

Thanks,
Dinh

Dinh Nguyen (10):
EDAC/altera: Fix NULL of_node dereference altr_edac_device_probe()
EDAC/altera: Fix use-after-free in error paths
EDAC/altera: Guard against NULL match data in altr_sdram_probe()
EDAC/altera: Fix IRQ domain leak on platform_get_irq() failure
EDAC/altera: Fix code leak on dci allocation failure
EDAC/altera: Add suppress_bind_attrs so driver cannot get unbound
EDAC/altera: Drop __init from ECC setup paths for re-probe safety
EDAC/altera: Skip ECC memory init if already initialized
EDAC/altera: Detach sb_irq handler when db_irq setup fails
EDAC/altera: Fix error cleanup path in altr_edac_device_probe()

drivers/edac/altera_edac.c | 118 ++++++++++++++++++++++++-------------
1 file changed, 77 insertions(+), 41 deletions(-)

--
2.42.0.411.g813d9a9188