diff options
author | Jiacheng Shi <[email protected]> | 2021-12-12 01:16:00 -0800 |
---|---|---|
committer | Alex Williamson <[email protected]> | 2021-12-21 12:30:34 -0700 |
commit | 2bed2ced40c97b8540ff38df0149e8ecb2bf4c65 (patch) | |
tree | 7585943e25b117eaafb462e4a1ea3e46cf2eb059 /drivers/usb/cdns3/cdns3-ep0.c | |
parent | 21ab799585762e097387da82a4e0fd6c2ffb4000 (diff) |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ep0.c')
0 files changed, 0 insertions, 0 deletions