diff options
| author | 2026-09-11 07:06:26 -0500 | |
|---|---|---|
| committer | 2026-09-25 18:08:11 -0700 | |
| commit | 3e4a10a4718e3d963ee4d6c5f26bc5ad57c1d2b1 (patch) | |
| tree | ed26e81c0d261a31675b06db284318e8e8885a67 /scripts/Makefile.thinlto | |
| parent | EDAC/altera: Drop __init from ECC setup paths for re-probe safety (diff) | |
EDAC/altera: Fix memory leak on dci allocation failure
Sashiko reports:
"If devres_open_group() fails, the function returns -ENOMEM without freeing the
dci structure allocated earlier with edac_device_alloc_ctl_info()."
Free the dci structure if devres_open_group() fails.
Fixes: c3eea1942a16 ("EDAC, altera: Add Altera L2 cache and OCRAM support")
Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Cc: stable@vger.kernel.org # 6.18+
Link: https://patch.msgid.link/20260911120627.2634225-4-dinguyen@kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
