summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorNicolin Chen <nicolinc@nvidia.com>2025-06-24 11:00:46 -0700
committerJason Gunthorpe <jgg@nvidia.com>2025-06-24 15:45:12 -0300
commit4b75e3babb85238912f50bbe0647bae08242a9b6 (patch)
treef35647afe6a04c49e4234b843aac165becc85fa4 /scripts/gdb/linux/utils.py
parent818625570558cd91082c9bafd6f2b59b73241a69 (diff)
iommufd/selftest: Add missing close(mfd) in memfd_mmap()
Do not forget to close mfd in the error paths, since none of the callers would close it when ASSERT_NE(MAP_FAILED, buf) fails. Fixes: 0bcceb1f51c7 ("iommufd: Selftest coverage for IOMMU_IOAS_MAP_FILE") Link: https://patch.msgid.link/r/a363a69dbf453d4bc1bde276f3b16778620488e1.1750787928.git.nicolinc@nvidia.com Cc: stable@vger.kernel.org Reviewed-by: Jason Gunthorpe <jgg@nvidia.com> Signed-off-by: Nicolin Chen <nicolinc@nvidia.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions