diff options
author | Dmitry Osipenko <digetx@gmail.com> | 2018-04-23 12:54:56 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2018-05-17 17:44:48 +0200 |
commit | 27db6a0073f162cdb15975c9d29d159d772b1ec0 (patch) | |
tree | 7ebe1facb208007c3d34b703a2a1db1349c0bcd7 /drivers/gpu/host1x/dev.c | |
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>
Diffstat (limited to 'drivers/gpu/host1x/dev.c')
0 files changed, 0 insertions, 0 deletions