Files
Salah Triki 827b6bdafb EDAC/altera: Delete an inappropriate dma_free_coherent() call
commit ff2a66d21f upstream.

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: 71bcada88b ("edac: altera: Add Altera SDRAM EDAC support")
Signed-off-by: Salah Triki <salah.triki@gmail.com>
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Acked-by: Dinh Nguyen <dinguyen@kernel.org>
Cc: stable@vger.kernel.org
Link: https://lore.kernel.org/aIrfzzqh4IzYtDVC@pc
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-09-19 16:37:29 +02:00
..
2024-12-15 22:17:34 +01:00
2024-12-15 22:17:34 +01:00
2024-03-27 18:26:58 +01:00
2024-12-15 22:17:34 +01:00