diff options
author | Patrick Roy <[email protected]> | 2024-10-24 10:59:53 +0100 |
---|---|---|
committer | Sean Christopherson <[email protected]> | 2024-11-04 21:10:28 -0800 |
commit | 945bdae20be5a13f1fcdcb14ec356dcbeee35839 (patch) | |
tree | dfb514421c9e13a2df069a7dea448c06b398fe40 /scripts/gdb/linux/stackdepot.py | |
parent | 2d0f2a648147d6bbf0655e03500586a6712a7281 (diff) |
KVM: selftests: fix unintentional noop test in guest_memfd_test.c
The loop in test_create_guest_memfd_invalid() that is supposed to test
that nothing is accepted as a valid flag to KVM_CREATE_GUEST_MEMFD was
initializing `flag` as 0 instead of BIT(0). This caused the loop to
immediately exit instead of iterating over BIT(0), BIT(1), ... .
Fixes: 8a89efd43423 ("KVM: selftests: Add basic selftest for guest_memfd()")
Signed-off-by: Patrick Roy <[email protected]>
Reviewed-by: James Gowans <[email protected]>
Reviewed-by: Muhammad Usama Anjum <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions