[PATCH 1/2] dmaengine: qcom_hidma: fix memory leak on probe failure
Eugen Hristev
eugen.hristev at linaro.org
Thu Jun 5 06:06:22 PDT 2025
On 6/2/25 01:42, Qasim Ijaz wrote:
> hidma_ll_init() is invoked to create and initialise a struct hidma_lldev
> object during hidma probe. During this a FIFO buffer is allocated, but
> if some failure occurs after (like hidma_ll_setup failure) we should
> clean up the FIFO.
>
> Fixes: d1615ca2e085 ("dmaengine: qcom_hidma: implement lower level hardware interface")
> Cc: stable at vger.kernel.org
> Signed-off-by: Qasim Ijaz <qasdev00 at gmail.com>
Reviewed-by: Eugen Hristev <eugen.hristev at linaro.org>
More information about the linux-arm-kernel
mailing list