aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/intel/igc/igc_main.c
diff options
context:
space:
mode:
authorNicolin Chen <[email protected]>2025-06-24 18:00:46 +0000
committerJason Gunthorpe <[email protected]>2025-06-24 18:45:12 +0000
commit4b75e3babb85238912f50bbe0647bae08242a9b6 (patch)
treef35647afe6a04c49e4234b843aac165becc85fa4 /drivers/net/ethernet/intel/igc/igc_main.c
parentiommufd/selftest: Fix iommufd_dirty_tracking with large hugepage sizes (diff)
downloadkernel-4b75e3babb85238912f50bbe0647bae08242a9b6.tar.gz
kernel-4b75e3babb85238912f50bbe0647bae08242a9b6.zip
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: [email protected] Reviewed-by: Jason Gunthorpe <[email protected]> Signed-off-by: Nicolin Chen <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions