linux/arch/riscv/kernel/vendor_extensions
Alexandre Ghiti b0843f8361
riscv: Fix sparse warning in vendor_extensions/sifive.c
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: 2d147d77ae ("riscv: Add SiFive xsfvqmaccdod and xsfvqmaccqoq vendor extensions")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202505072100.TZlEp8h1-lkp@intel.com/
Signed-off-by: Alexandre Ghiti <alexghiti@rivosinc.com>
Link: https://lore.kernel.org/r/20250620-dev-alex-fix_sparse_sifive_v1-v1-1-efa3a6f93846@rivosinc.com
Signed-off-by: Palmer Dabbelt <palmer@dabbelt.com>
2025-06-23 15:57:59 -07:00
..
andes.c
Makefile riscv: hwprobe: Add SiFive vendor extension support and probe for xsfqmaccdod and xsfqmaccqoq 2025-05-08 11:01:43 -07:00
sifive_hwprobe.c riscv: hwprobe: Add SiFive xsfvfwmaccqqq vendor extension 2025-05-08 11:01:44 -07:00
sifive.c riscv: Fix sparse warning in vendor_extensions/sifive.c 2025-06-23 15:57:59 -07:00
thead_hwprobe.c riscv: hwprobe: Add thead vendor extension probing 2025-01-18 12:33:35 -08:00
thead.c riscv: vector: Use vlenb from DT for thead 2025-01-18 12:33:29 -08:00