mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-21 04:53:46 -04:00
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: 57f0988706 ("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>
This commit is contained in:
committed by
Jason Gunthorpe
parent
fc3873095a
commit
9fabbdf338
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user