KVM: selftests: Fix spelling mistake "perrmited" -> "permitted"
authorColin Ian King <colin.i.king@gmail.com>
Fri, 14 Apr 2023 08:08:09 +0000 (09:08 +0100)
committerSean Christopherson <seanjc@google.com>
Fri, 14 Apr 2023 17:04:51 +0000 (10:04 -0700)
There is a spelling mistake in a test report message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://lore.kernel.org/r/20230414080809.1678603-1-colin.i.king@gmail.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/lib/x86_64/processor.c

index 898b30096c8093c6aaf9ee7bbaf1be76b1c4952a..d4a0b504b1e0ad7b51f0e10fdfea110ee4b09323 100644 (file)
@@ -731,7 +731,7 @@ void __vm_xsave_require_permission(uint64_t xfeature, const char *name)
        rc = syscall(SYS_arch_prctl, ARCH_GET_XCOMP_GUEST_PERM, &bitmask);
        TEST_ASSERT(rc == 0, "prctl(ARCH_GET_XCOMP_GUEST_PERM) error: %ld", rc);
        TEST_ASSERT(bitmask & xfeature,
-                   "'%s' (0x%lx) not permitted after prctl(ARCH_REQ_XCOMP_GUEST_PERM) perrmited=0x%lx",
+                   "'%s' (0x%lx) not permitted after prctl(ARCH_REQ_XCOMP_GUEST_PERM) permitted=0x%lx",
                    name, xfeature, bitmask);
 }