diff options
| author | Li RongQing <lirongqing@baidu.com> | 2026-05-28 06:15:45 +0300 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-05-28 16:01:52 +0300 |
| commit | f92d4f74de4fd6b233929a47f6bb89536c6274c8 (patch) | |
| tree | 8d9cdb87e4194805a9e22f09f65847fb2d4eba82 /scripts/objdiff | |
| parent | 5d40e5b49442437fe9dfd2577f7b17c07dbefb92 (diff) | |
| download | linux-f92d4f74de4fd6b233929a47f6bb89536c6274c8.tar.xz | |
KVM: x86: Fix wrong return value type in guest_cpuid_has()
The function guest_cpuid_has() is declared with a return type of 'bool'.
However, when kvm_find_cpuid_entry_index() fails to locate a valid CPUID
entry, the code incorrectly returns 'NULL' instead of 'false'.
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Link: https://patch.msgid.link/20260528031545.1879-1-lirongqing@baidu.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
