summaryrefslogtreecommitdiff
path: root/drivers/misc/pci_endpoint_test.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2025-03-14 19:41:02 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-20 10:15:55 +0200
commitbbf821c35dab3211d6e4229656b4a53e04ca0c4e (patch)
tree6212e8ab4544b2f268877e9fde2d981ffd57e669 /drivers/misc/pci_endpoint_test.c
parent99b99032a89e67debd6742d773d8ad271b042df7 (diff)
KVM: x86: Explicitly zero-initialize on-stack CPUID unions
commit bc52ae0a708cb6fa3926d11c88e3c55e1171b4a1 upstream. Explicitly zero/empty-initialize the unions used for PMU related CPUID entries, instead of manually zeroing all fields (hopefully), or in the case of 0x80000022, relying on the compiler to clobber the uninitialized bitfields. Signed-off-by: Sean Christopherson <seanjc@google.com> Reviewed-by: Jim Mattson <jmattson@google.com> Message-ID: <20250315024102.2361628-1-seanjc@google.com> Cc: stable@vger.kernel.org Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/pci_endpoint_test.c')
0 files changed, 0 insertions, 0 deletions