diff options
| author | angquan yu <[email protected]> | 2023-11-28 22:11:05 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2023-12-08 18:18:45 +0000 |
| commit | 4a073e813477be4ae95dfd23cb08baf36e93a29f (patch) | |
| tree | a35f76fd6ac6108e5e8c0b6152d69dc1c609c716 /drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | |
| parent | Merge tag 'kvm-x86-fixes-6.7-rcN' of https://github.com/kvm-x86/linux into kv... (diff) | |
| download | kernel-4a073e813477be4ae95dfd23cb08baf36e93a29f.tar.gz kernel-4a073e813477be4ae95dfd23cb08baf36e93a29f.zip | |
KVM: selftests: Actually print out magic token in NX hugepages skip message
Pass MAGIC_TOKEN to __TEST_REQUIRE() when printing the help message about
needing to pass a magic value to manually run the NX hugepages test,
otherwise the help message will contain garbage.
In file included from x86_64/nx_huge_pages_test.c:15:
x86_64/nx_huge_pages_test.c: In function ‘main’:
include/test_util.h:40:32: error: format ‘%d’ expects a matching ‘int’ argument [-Werror=format=]
40 | ksft_exit_skip("- " fmt "\n", ##__VA_ARGS__); \
| ^~~~
x86_64/nx_huge_pages_test.c:259:9: note: in expansion of macro ‘__TEST_REQUIRE’
259 | __TEST_REQUIRE(token == MAGIC_TOKEN,
| ^~~~~~~~~~~~~~
Signed-off-by: angquan yu <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
[sean: rewrite shortlog+changelog]
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c')
0 files changed, 0 insertions, 0 deletions
