From: Colin Ian King colin.king@canonical.com
Trivial fix to spelling mistake in TEST_ASSERT message text
Signed-off-by: Colin Ian King colin.king@canonical.com --- tools/testing/selftests/kvm/lib/kvm_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/kvm/lib/kvm_util.c b/tools/testing/selftests/kvm/lib/kvm_util.c index 6fd8c089cafc..a56ef6b187bb 100644 --- a/tools/testing/selftests/kvm/lib/kvm_util.c +++ b/tools/testing/selftests/kvm/lib/kvm_util.c @@ -123,7 +123,7 @@ struct kvm_vm *vm_create(enum vm_guest_mode mode, uint64_t phy_pages, int perm)
/* Allocate memory. */ vm = calloc(1, sizeof(*vm)); - TEST_ASSERT(vm != NULL, "Insufficent Memory"); + TEST_ASSERT(vm != NULL, "Insufficient Memory");
vm->mode = mode; vm_open(vm, perm);
On 10/13/2018 09:41 AM, Colin King wrote:
From: Colin Ian King colin.king@canonical.com
Trivial fix to spelling mistake in TEST_ASSERT message text
Signed-off-by: Colin Ian King colin.king@canonical.com
tools/testing/selftests/kvm/lib/kvm_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/testing/selftests/kvm/lib/kvm_util.c b/tools/testing/selftests/kvm/lib/kvm_util.c index 6fd8c089cafc..a56ef6b187bb 100644 --- a/tools/testing/selftests/kvm/lib/kvm_util.c +++ b/tools/testing/selftests/kvm/lib/kvm_util.c @@ -123,7 +123,7 @@ struct kvm_vm *vm_create(enum vm_guest_mode mode, uint64_t phy_pages, int perm) /* Allocate memory. */ vm = calloc(1, sizeof(*vm));
- TEST_ASSERT(vm != NULL, "Insufficent Memory");
- TEST_ASSERT(vm != NULL, "Insufficient Memory");
vm->mode = mode; vm_open(vm, perm);
Thanks for the patch. Applied to linux-kselftest next for 4.20-rc1
thanks, -- Shuah
linux-kselftest-mirror@lists.linaro.org