selftests: iommu: Fix test_cmd_destroy_access() call in user_copy
authorNicolin Chen <nicolinc@nvidia.com>
Fri, 20 Jan 2023 07:42:04 +0000 (23:42 -0800)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 23 Jan 2023 18:27:40 +0000 (14:27 -0400)
commit9fabbdf338b701f2d763d9edbc3e82ce1e7fa1b4
treebcd4f5eba279f9af1dc79f5165f41aeadd1fb1b3
parentfc3873095a09ce969543fa4a17fee271c8ca3566
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/20230120074204.1368-1-nicolinc@nvidia.com
Signed-off-by: Nicolin Chen <nicolinc@nvidia.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
tools/testing/selftests/iommu/iommufd.c