diff options
| author | Ben Dooks <ben.dooks@codethink.co.uk> | 2026-06-22 14:52:07 +0100 |
|---|---|---|
| committer | Paul Walmsley <pjw@kernel.org> | 2026-06-25 11:47:39 -0600 |
| commit | 625ee71c3283dd322856060f9f4d344e2edc3c14 (patch) | |
| tree | bb867a57d2aa97e34529273803cd4aa766849fa0 /lib/raid | |
| parent | 0fa749771993033befb9dda60b023782cb5fd2d9 (diff) | |
| download | lwn-625ee71c3283dd322856060f9f4d344e2edc3c14.tar.gz lwn-625ee71c3283dd322856060f9f4d344e2edc3c14.zip | |
raid6: fix riscv symbol undeclared warnigns
The riscv rvv.c file is missing the include of pq_arch.h
which defines all the exported functions. Include this
to remove the following sparse warnings:
lib/raid/raid6/riscv/rvv.c:1225:1: warning: symbol 'raid6_rvvx1' was not declared. Should it be static?
lib/raid/raid6/riscv/rvv.c:1226:1: warning: symbol 'raid6_rvvx2' was not declared. Should it be static?
lib/raid/raid6/riscv/rvv.c:1227:1: warning: symbol 'raid6_rvvx4' was not declared. Should it be static?
lib/raid/raid6/riscv/rvv.c:1228:1: warning: symbol 'raid6_rvvx8' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://patch.msgid.link/20260622135207.480540-1-ben.dooks@codethink.co.uk
Signed-off-by: Paul Walmsley <pjw@kernel.org>
Diffstat (limited to 'lib/raid')
| -rw-r--r-- | lib/raid/raid6/riscv/rvv.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/raid/raid6/riscv/rvv.c b/lib/raid/raid6/riscv/rvv.c index 75c9dafedb28..4ac50606f3dc 100644 --- a/lib/raid/raid6/riscv/rvv.c +++ b/lib/raid/raid6/riscv/rvv.c @@ -10,6 +10,7 @@ */ #include "rvv.h" +#include "pq_arch.h" #ifdef __riscv_vector #error "This code must be built without compiler support for vector" |
