summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-max77620.c
diff options
context:
space:
mode:
authorJason Wang <jasowang@redhat.com>2022-12-13 12:07:17 +0300
committerMichael S. Tsirkin <mst@redhat.com>2022-12-28 13:28:11 +0300
commit0b7a04a30eef20e6b24926a45c0ce7906ae85bd6 (patch)
treed34281cd5de6ee12155f7ad509d76d854a3e562c /drivers/gpio/gpio-max77620.c
parent1c96d5457f7251d1c62aacc04921557d56fc049a (diff)
downloadlinux-0b7a04a30eef20e6b24926a45c0ce7906ae85bd6.tar.xz
vdpasim: fix memory leak when freeing IOTLBs
After commit bda324fd037a ("vdpasim: control virtqueue support"), vdpasim->iommu became an array of IOTLB, so we should clean the mappings of each free one by one instead of just deleting the ranges in the first IOTLB which may leak maps. Fixes: bda324fd037a ("vdpasim: control virtqueue support") Cc: Gautam Dawar <gautam.dawar@xilinx.com> Signed-off-by: Jason Wang <jasowang@redhat.com> Message-Id: <20221213090717.61529-1-jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Gautam Dawar <gautam.dawar@amd.com>
Diffstat (limited to 'drivers/gpio/gpio-max77620.c')
0 files changed, 0 insertions, 0 deletions