diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2021-04-12 16:00:23 +0000 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2021-04-12 19:48:32 +0200 |
commit | 523caed9efbb049339706b124185c9358c1b6477 (patch) | |
tree | 9c0ca92b8614fd95467a1b551fdd10f0975392e5 /arch/x86/Kconfig | |
parent | ae40aaf6bdbf0354a75b8284a0de453fcf5f4d32 (diff) |
x86/sgx: Mark sgx_vepc_vm_ops static
Fix the following sparse warning:
arch/x86/kernel/cpu/sgx/virt.c:95:35: warning:
symbol 'sgx_vepc_vm_ops' was not declared. Should it be static?
This symbol is not used outside of virt.c so mark it static.
[ bp: Massage commit message. ]
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210412160023.193850-1-weiyongjun1@huawei.com
Diffstat (limited to 'arch/x86/Kconfig')
0 files changed, 0 insertions, 0 deletions