aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-memcpy.c
diff options
context:
space:
mode:
authorNicolin Chen <[email protected]>2023-08-18 03:10:32 -0700
committerJason Gunthorpe <[email protected]>2023-08-18 12:52:15 -0300
commitaf4fde93c3196ed2cd4e64109a9307a7bc471c5a (patch)
treea516c6354b4e9a6383051732048fd027d4137742 /lib/test_fortify/write_overflow-memcpy.c
parent55dd4023cead250c89decf1a7a882c94cbf5765a (diff)
iommufd/selftest: Add coverage for IOMMU_GET_HW_INFO ioctl
Add a mock_domain_hw_info function and an iommu_test_hw_info data structure. This allows to test the IOMMU_GET_HW_INFO ioctl passing the test_reg value for the mock_dev. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Nicolin Chen <[email protected]> Signed-off-by: Yi Liu <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-memcpy.c')
0 files changed, 0 insertions, 0 deletions