diff options
author | Jiacheng Shi <billsjc@sjtu.edu.cn> | 2021-12-12 10:16:00 +0100 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2021-12-21 20:30:34 +0100 |
commit | 2bed2ced40c97b8540ff38df0149e8ecb2bf4c65 (patch) | |
tree | 7585943e25b117eaafb462e4a1ea3e46cf2eb059 /drivers/usb/mtu3/mtu3_trace.c | |
parent | vfio/pci: Resolve sparse endian warnings in IGD support (diff) | |
download | linux-2bed2ced40c97b8540ff38df0149e8ecb2bf4c65.tar.xz linux-2bed2ced40c97b8540ff38df0149e8ecb2bf4c65.zip |
vfio/iommu_type1: replace kfree with kvfree
Variables allocated by kvzalloc should not be freed by kfree.
Because they may be allocated by vmalloc.
So we replace kfree with kvfree here.
Fixes: d6a4c185660c ("vfio iommu: Implementation of ioctl for dirty pages tracking")
Signed-off-by: Jiacheng Shi <billsjc@sjtu.edu.cn>
Link: https://lore.kernel.org/r/20211212091600.2560-1-billsjc@sjtu.edu.cn
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/usb/mtu3/mtu3_trace.c')
0 files changed, 0 insertions, 0 deletions