Re: [PATCH -next] x86/sgx: Make symbol 'sgx_vepc_vm_ops' static

Borislav Petkov
2021-04-12T17:46:54Z

On Mon, Apr 12, 2021 at 04:00:23PM +0000, Wei Yongjun wrote:
> The sparse tool complains as follows:
>
> 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 this
> commit marks it static.

For the future:

Avoid having "This patch" or "This commit" in the commit message. It is
tautologically useless.

Also, do

$ git grep 'This patch' Documentation/process

for more details.

Thx.

--
Regards/Gruss,
Boris.