Re: [PATCH] riscv: Fix sparse warning in vendor_extensions/sifive.c
From: patchwork-bot+linux-riscv
Date: Mon Jun 23 2025 - 20:49:59 EST
Hello:
This patch was applied to riscv/linux.git (fixes)
by Palmer Dabbelt <palmer@xxxxxxxxxxx>:
On Fri, 20 Jun 2025 12:08:11 +0000 you wrote:
> sparse reports the following warning:
>
> arch/riscv/kernel/vendor_extensions/sifive.c:11:33: sparse: sparse: symbol 'riscv_isa_vendor_ext_sifive' was not declared. Should it be static?
>
> So as this struct is only used in this file, make it static.
>
> Fixes: 2d147d77ae6e ("riscv: Add SiFive xsfvqmaccdod and xsfvqmaccqoq vendor extensions")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202505072100.TZlEp8h1-lkp@xxxxxxxxx/
> Signed-off-by: Alexandre Ghiti <alexghiti@xxxxxxxxxxxx>
>
> [...]
Here is the summary with links:
- riscv: Fix sparse warning in vendor_extensions/sifive.c
https://git.kernel.org/riscv/c/b0843f836126
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html