aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolin Chen <[email protected]>2023-01-19 23:42:04 -0800
committerJason Gunthorpe <[email protected]>2023-01-23 14:27:40 -0400
commit9fabbdf338b701f2d763d9edbc3e82ce1e7fa1b4 (patch)
treebcd4f5eba279f9af1dc79f5165f41aeadd1fb1b3
parentfc3873095a09ce969543fa4a17fee271c8ca3566 (diff)
selftests: iommu: Fix test_cmd_destroy_access() call in user_copy
The test_cmd_destroy_access() should end with a semicolon, so add one. There is a test_ioctl_destroy(ioas_id) following already, so drop one. Fixes: 57f0988706fe ("iommufd: Add a selftest") Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Nicolin Chen <[email protected]> Reviewed-by: Kevin Tian <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
-rw-r--r--tools/testing/selftests/iommu/iommufd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/iommu/iommufd.c b/tools/testing/selftests/iommu/iommufd.c
index 8aa8a346cf22..fa08209268c4 100644
--- a/tools/testing/selftests/iommu/iommufd.c
+++ b/tools/testing/selftests/iommu/iommufd.c
@@ -1259,7 +1259,7 @@ TEST_F(iommufd_mock_domain, user_copy)
test_cmd_destroy_access_pages(
access_cmd.id, access_cmd.access_pages.out_access_pages_id);
- test_cmd_destroy_access(access_cmd.id) test_ioctl_destroy(ioas_id);
+ test_cmd_destroy_access(access_cmd.id);
test_ioctl_destroy(ioas_id);
}