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

2020-07-13 Thread David Miller
From: Wei Yongjun Date: Mon, 13 Jul 2020 22:23:44 +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. > > Fixes: 41852

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

2020-07-13 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. Fixes: 41852497a9205 ("net: batch calls to flush_all_backlogs()") Reported-by: Hulk Robo