aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorTom Lendacky <[email protected]>2023-10-02 18:28:54 +0000
committerPaolo Bonzini <[email protected]>2023-10-12 15:09:36 +0000
commit3e9346734661cc20bd77aeb43dbf4e5f46a2c16e (patch)
treebd15b09e6300c182829cd5bc529741dad3159db0 /fs/jbd2/commit.c
parentx86: KVM: SVM: refresh AVIC inhibition in svm_leave_nested() (diff)
downloadkernel-3e9346734661cc20bd77aeb43dbf4e5f46a2c16e.tar.gz
kernel-3e9346734661cc20bd77aeb43dbf4e5f46a2c16e.zip
KVM: SVM: Fix build error when using -Werror=unused-but-set-variable
Commit 916e3e5f26ab ("KVM: SVM: Do not use user return MSR support for virtualized TSC_AUX") introduced a local variable used for the rdmsr() function for the high 32-bits of the MSR value. This variable is not used after being set and triggers a warning or error, when treating warnings as errors, when the unused-but-set-variable flag is set. Mark this variable as __maybe_unused to fix this. Fixes: 916e3e5f26ab ("KVM: SVM: Do not use user return MSR support for virtualized TSC_AUX") Signed-off-by: Tom Lendacky <[email protected]> Reviewed-by: Sean Christopherson <[email protected]> Message-Id: <0da9874b6e9fcbaaa5edeb345d7e2a7c859fc818.1696271334.git.thomas.lendacky@amd.com> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions