Re: [PATCH bpf-next] bpf: Make symbol 'bpf_task_storage_busy' static

2021-03-11 Thread Song Liu
> On Mar 11, 2021, at 5:15 AM, 'Wei Yongjun wrote: > > From: Wei Yongjun > > The sparse tool complains as follows: > > kernel/bpf/bpf_task_storage.c:23:1: warning: > symbol '__pcpu_scope_bpf_task_storage_busy' was not declared. Should it be > static? > > This symbol is not used outside of

[PATCH bpf-next] bpf: Make symbol 'bpf_task_storage_busy' static

2021-03-11 Thread 'Wei Yongjun
From: Wei Yongjun The sparse tool complains as follows: kernel/bpf/bpf_task_storage.c:23:1: warning: symbol '__pcpu_scope_bpf_task_storage_busy' was not declared. Should it be static? This symbol is not used outside of bpf_task_storage.c, so this commit marks it static. Fixes: bc235cdb423a (