Skip to content
Commit 944a8dad authored by Tom Rix's avatar Tom Rix Committed by Sean Christopherson
Browse files

KVM: x86: set "mitigate_smt_rsb" storage-class-specifier to static



smatch reports
arch/x86/kvm/x86.c:199:20: warning: symbol
  'mitigate_smt_rsb' was not declared. Should it be static?

This variable is only used in one file so it should be static.

Signed-off-by: default avatarTom Rix <trix@redhat.com>
Link: https://lore.kernel.org/r/20230404010141.1913667-1-trix@redhat.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent 99b30869
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment