diff options
| author | Sean Christopherson <seanjc@google.com> | 2022-06-14 20:06:55 +0000 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2022-07-13 18:14:20 -0700 |
| commit | 813e38cd6d7b4247314427a901015867e0534356 (patch) | |
| tree | d710c85b3fb3f1e8dae6a9b81daf4a48b7389ff6 /net/lapb/lapb_timer.c | |
| parent | 7ed5a54e8282edfb464ccce4d3cf3a6f1d79b14a (diff) | |
KVM: selftests: Make get_supported_cpuid() returns "const"
Tag the returned CPUID pointers from kvm_get_supported_cpuid(),
kvm_get_supported_hv_cpuid(), and vcpu_get_supported_hv_cpuid() "const"
to prevent reintroducing the broken pattern of modifying the static
"cpuid" variable used by kvm_get_supported_cpuid() to cache the results
of KVM_GET_SUPPORTED_CPUID.
Update downstream consumers as needed.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Link: https://lore.kernel.org/r/20220614200707.3315957-31-seanjc@google.com
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
