Patch "selftests: iommu: Fix test_cmd_destroy_access() call in user_copy" has been added to the 6.2-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    selftests: iommu: Fix test_cmd_destroy_access() call in user_copy

to the 6.2-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     selftests-iommu-fix-test_cmd_destroy_access-call-in-.patch
and it can be found in the queue-6.2 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit 7759fe5c73b31e2832eae8b76376a2e39080573e
Author: Nicolin Chen <nicolinc@xxxxxxxxxx>
Date:   Thu Jan 19 23:42:04 2023 -0800

    selftests: iommu: Fix test_cmd_destroy_access() call in user_copy
    
    [ Upstream commit 9fabbdf338b701f2d763d9edbc3e82ce1e7fa1b4 ]
    
    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@xxxxxxxxxx
    Signed-off-by: Nicolin Chen <nicolinc@xxxxxxxxxx>
    Reviewed-by: Kevin Tian <kevin.tian@xxxxxxxxx>
    Signed-off-by: Jason Gunthorpe <jgg@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/tools/testing/selftests/iommu/iommufd.c b/tools/testing/selftests/iommu/iommufd.c
index 8aa8a346cf221..fa08209268c42 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);
 }



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux