diff options
author | Alex Elder <elder@linaro.org> | 2020-12-04 00:51:06 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2020-12-05 01:38:44 +0300 |
commit | 1130b252480f3c98cf468e78c1c5c516b390a29c (patch) | |
tree | 4dca8e940994b1eb409b40151ed21d02978fc45e /drivers/net/ethernet/cadence/Kconfig | |
parent | 4eef8b1f36f2ff06966b8f7c2143ef0c447877de (diff) | |
download | linux-1130b252480f3c98cf468e78c1c5c516b390a29c.tar.xz |
net: ipa: pass the correct size when freeing DMA memory
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@chromium.org>
Tested-by: Sujit Kautkar <sujitka@chromium.org>
Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20201203215106.17450-1-elder@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/net/ethernet/cadence/Kconfig')
0 files changed, 0 insertions, 0 deletions