aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/test
diff options
context:
space:
mode:
authorPengfei Xu <pengfei.xu@intel.com>2023-09-20 17:34:56 +0800
committerAleksandr Nogikh <nogikh@google.com>2023-09-28 10:02:36 +0000
commit0aebb3aec9cc04ba85e8e866b551669724768e9f (patch)
tree0427204253f3cb538730cff4bcad7055883dbf87 /sys/linux/test
parent22e9f18eb65ee5f71f8c2bb5d19e7d303ba08942 (diff)
sys/linux: correct the md_check_refs variable length and uptr
Based on Linux kernel iommufd_test.h line 68 struct check_refs: https://github.com/torvalds/linux/blob/master/drivers/iommu/iommufd/iommufd_test.h correct the md_check_refs variable length and uptr in correct position. Signed-off-by: Pengfei Xu <pengfei.xu@intel.com>
Diffstat (limited to 'sys/linux/test')
-rw-r--r--sys/linux/test/dev_iommu2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/linux/test/dev_iommu b/sys/linux/test/dev_iommu
index 04be5492f..354b0abaa 100644
--- a/sys/linux/test/dev_iommu
+++ b/sys/linux/test/dev_iommu
@@ -54,7 +54,7 @@ ioctl$IOMMU_TEST_OP_DESTROY_ACCESS_PAGES(r0, 0x3ba0, &AUTO={0x38, 0x6, r2, 0x0,
ioctl$IOMMU_IOAS_MAP(r0, 0x3b85, &AUTO={0x28, 0x7, r1, 0x0, &(0x7f00000a0000)='LLLLLLLLLLLLLLLLLLLLLLLLLLLL', 0x1000, 0x1c})
ioctl$IOMMU_TEST_OP_MD_CHECK_MAP(r0, 0x3ba0, &AUTO={0x38, 0x3, r2, 0x0, 0x1c, 0x1000, &AUTO='LLLLLLLLLLLLLLLLLLLLLLLLLLLL'})
-ioctl$IOMMU_TEST_OP_MD_CHECK_REFS(r0, 0x3ba0, &AUTO={0x38, 0x4, r2, 0x0, &AUTO='LLLLLLLLLLLLLLLLLLLLLLLLLLLL', 0x800, 0x1})
+ioctl$IOMMU_TEST_OP_MD_CHECK_REFS(r0, 0x3ba0, &AUTO={0x38, 0x4, r2, 0x0, 0x800, &AUTO='LLLLLLLLLLLLLLLLLLLLLLLLLLLL', 0x1})
ioctl$IOMMU_IOAS_UNMAP(r0, 0x3b86, &AUTO={0x18, r1, 0x1c, 0x800})
close(r2)