diff options
| author | Dinh Nguyen <dinguyen@kernel.org> | 2026-06-17 11:43:03 -0500 |
|---|---|---|
| committer | Borislav Petkov (AMD) <bp@alien8.de> | 2026-09-07 21:29:44 -0700 |
| commit | 9868f5c077dfe0b606331f2e782484f91a5789a5 (patch) | |
| tree | 9e16666474fbea7b54d036890c2e3e27fdfd1502 /scripts/Makefile.thinlto | |
| parent | df2908090cda368b01ff43709f51890076c56157 (diff) | |
| download | linux-stable-9868f5c077dfe0b606331f2e782484f91a5789a5.tar.gz linux-stable-9868f5c077dfe0b606331f2e782484f91a5789a5.zip | |
EDAC/altera: Use parent device for devres in altr_portb_setup()
Anchor the devres group and the devm-managed IRQ requests in altr_portb_setup()
to the actual parent device (device->edac->dev) instead of the embedded struct
device inside the copied per-port altr_edac_device_dev.
This keeps devres_open_group(), devm_request_irq(), devres_remove_group() and
devres_release_group() all referring to the same long-lived device so the
group and the resources allocated inside it are torn down together.
Fixes: 911049845d70 ("EDAC, altera: Add Arria10 SD-MMC EDAC support")
Closes: https://sashiko.dev/#/patchset/20260503212558.2811480-1-dbgh9129%40gmail.com
Assisted-by: LLM
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260617164303.585555-1-dinguyen@kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
