diff options
| author | Alexandre Ghiti <[email protected]> | 2025-06-20 12:08:11 +0000 |
|---|---|---|
| committer | Palmer Dabbelt <[email protected]> | 2025-06-23 22:57:59 +0000 |
| commit | b0843f836126c980fb31923563c86ec52e8b9514 (patch) | |
| tree | c366335d9f9fe19a0d1c75f1ea3b4deb331a2d93 /lib/crypto/mpi/mpi-cmp.c | |
| parent | Revert "riscv: misaligned: fix sleeping function called during misaligned acc... (diff) | |
| download | kernel-b0843f836126c980fb31923563c86ec52e8b9514.tar.gz kernel-b0843f836126c980fb31923563c86ec52e8b9514.zip | |
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: 2d147d77ae6e ("riscv: Add SiFive xsfvqmaccdod and xsfvqmaccqoq vendor extensions")
Reported-by: kernel test robot <[email protected]>
Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
Signed-off-by: Alexandre Ghiti <[email protected]>
Link: https://lore.kernel.org/r/20250620-dev-alex-fix_sparse_sifive_v1-v1-1-efa3a6f93846@rivosinc.com
Signed-off-by: Palmer Dabbelt <[email protected]>
Diffstat (limited to 'lib/crypto/mpi/mpi-cmp.c')
0 files changed, 0 insertions, 0 deletions
