Re: [PATCH net 1/1] net: ipa: pass the correct size when freeing DMA memory

From: Jakub Kicinski
Date: Fri Dec 04 2020 - 17:42:35 EST


On Thu, 3 Dec 2020 17:28:16 -0600 Bjorn Andersson wrote:
> > When the coherent memory is freed in gsi_trans_pool_exit_dma(), we
> > are mistakenly passing the size of a single element in the pool
> > rather than the actual allocated size. Fix this bug.
> >
> > Fixes: 9dd441e4ed575 ("soc: qcom: ipa: GSI transactions")
> > Reported-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>
> > Tested-by: Sujit Kautkar <sujitka@xxxxxxxxxxxx>
> > Signed-off-by: Alex Elder <elder@xxxxxxxxxx>
>
> Reviewed-by: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>

Applied, thanks!