diff options
| author | Salah Triki <[email protected]> | 2025-07-31 03:15:27 +0000 |
|---|---|---|
| committer | Borislav Petkov (AMD) <[email protected]> | 2025-08-25 11:56:16 +0000 |
| commit | ff2a66d21fd2364ed9396d151115eec59612b200 (patch) | |
| tree | dfe6d2b20edd370b6f34a937651ec054d1229a5d /lib/net_utils.c | |
| parent | Linux 6.17-rc3 (diff) | |
| download | kernel-ff2a66d21fd2364ed9396d151115eec59612b200.tar.gz kernel-ff2a66d21fd2364ed9396d151115eec59612b200.zip | |
EDAC/altera: Delete an inappropriate dma_free_coherent() call
dma_free_coherent() must only be called if the corresponding
dma_alloc_coherent() call has succeeded. Calling it when the allocation fails
leads to undefined behavior.
Delete the wrong call.
[ bp: Massage commit message. ]
Fixes: 71bcada88b0f3 ("edac: altera: Add Altera SDRAM EDAC support")
Signed-off-by: Salah Triki <[email protected]>
Signed-off-by: Borislav Petkov (AMD) <[email protected]>
Acked-by: Dinh Nguyen <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/aIrfzzqh4IzYtDVC@pc
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions
