diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-02-10 10:59:58 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-02-11 16:02:08 +0300 |
commit | 2e215216d66ffae2b3f4dab595e548ad5dcc57a8 (patch) | |
tree | dcbfed1a0fbdb83efaa10a95c530409370a1be9e /net/lapb/lapb_timer.c | |
parent | 67ccd527665d7ee51977681539baae21f676607c (diff) | |
download | linux-2e215216d66ffae2b3f4dab595e548ad5dcc57a8.tar.xz |
KVM: SVM: Make symbol 'svm_gp_erratum_intercept' static
The sparse tool complains as follows:
arch/x86/kvm/svm/svm.c:204:6: warning:
symbol 'svm_gp_erratum_intercept' was not declared. Should it be static?
This symbol is not used outside of svm.c, so this
commit marks it static.
Fixes: 82a11e9c6fa2b ("KVM: SVM: Add emulation support for #GP triggered by SVM instructions")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Message-Id: <20210210075958.1096317-1-weiyongjun1@huawei.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions