lkml.org 
[lkml]   [2022]   [Aug]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH -next 1/2] rv/monitors: add 'static' qualifier for local symbols
From
On 8/24/22 05:43, Zeng Heng wrote:
> The sparse tool complains as follows:
>
> kernel/trace/rv/monitors/wwnr/wwnr.c:18:19:
> warning: symbol 'rv_wwnr' was not declared. Should it be static?
>
> The `rv_wwnr` symbol is not dereferenced by other extern files,
> so add static qualifier for it.
>
> So does wip module.
>
> Fixes: ccc319dcb450 ("rv/monitor: Add the wwnr monitor")
> Fixes: 8812d21219b9 ("rv/monitor: Add the wip monitor skeleton created by dot2k")
> Signed-off-by: Zeng Heng <zengheng4@huawei.com>

Acked-by: Daniel Bristot de Oliveira <bristot@kernel.org>

Thanks!
-- Daniel

\
 
 \ /
  Last update: 2022-08-24 08:34    [W:0.138 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site