commit | 27db6a0073f162cdb15975c9d29d159d772b1ec0 | [log] [tgz] |
---|---|---|
author | Dmitry Osipenko <digetx@gmail.com> | Mon Apr 23 12:54:56 2018 +0300 |
committer | Thierry Reding <treding@nvidia.com> | Thu May 17 17:44:48 2018 +0200 |
tree | 7ebe1facb208007c3d34b703a2a1db1349c0bcd7 | |
parent | a43d0a00ea58a665905d94e8ab469ff888b1b0e1 [diff] |
gpu: host1x: Fix dma_free_wc() argument in the error path If IOVA allocation or IOMMU mapping fails, dma_free_wc() is invoked with size=0 because of a typo, that triggers "kernel BUG at mm/vmalloc.c:124!". Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Reviewed-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>