Re: [PATCH net-next] net: make symbol 'flush_works' static

2020-07-10 Thread David Miller
From: Wei Yongjun Date: Fri, 10 Jul 2020 15:31:04 +0800 > The sparse tool complains as follows: > > net/core/dev.c:5594:1: warning: > symbol '__pcpu_scope_flush_works' was not declared. Should it be static? > > 'flush_works' is not used outside of dev.c, so marks > it static. > > Reported-by:

[PATCH net-next] net: make symbol 'flush_works' static

2020-07-10 Thread Wei Yongjun
The sparse tool complains as follows: net/core/dev.c:5594:1: warning: symbol '__pcpu_scope_flush_works' was not declared. Should it be static? 'flush_works' is not used outside of dev.c, so marks it static. Reported-by: Hulk Robot Signed-off-by: Wei Yongjun --- net/core/dev.c | 2 +- 1 file