[PATCH] clk: mediatek: fhctl: set varaiables fhctl_offset_v1,2 storage-class-specifier to static
Stephen Boyd
sboyd at kernel.org
Mon Apr 10 16:59:28 PDT 2023
Quoting Tom Rix (2023-04-05 18:09:35)
> smatch reports
> drivers/clk/mediatek/clk-fhctl.c:17:27: warning: symbol
> 'fhctl_offset_v1' was not declared. Should it be static?
> drivers/clk/mediatek/clk-fhctl.c:30:27: warning: symbol
> 'fhctl_offset_v2' was not declared. Should it be static?
>
> These variables are only used in one file so should be static.
>
> Signed-off-by: Tom Rix <trix at redhat.com>
> ---
Applied to clk-next
More information about the linux-arm-kernel
mailing list