[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200713.172502.1672894326824222911.davem@davemloft.net>
Date: Mon, 13 Jul 2020 17:25:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: weiyongjun1@...wei.com
Cc: hulkci@...wei.com, kuba@...nel.org, ast@...nel.org,
daniel@...earbox.net, hawk@...nel.org, john.fastabend@...il.com,
jiri@...lanox.com, edumazet@...gle.com, ap420073@...il.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next v2] net: make symbol 'flush_works' static
From: Wei Yongjun <weiyongjun1@...wei.com>
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: 41852497a9205 ("net: batch calls to flush_all_backlogs()")
> Reported-by: Hulk Robot <hulkci@...wei.com>
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
Applied.
Powered by blists - more mailing lists