* [PATCH] raid6: fix raid6_recov_rvv symbol undeclared warning
@ 2026-06-22 13:55 Ben Dooks
2026-06-22 18:21 ` Nam Cao
0 siblings, 1 reply; 2+ messages in thread
From: Ben Dooks @ 2026-06-22 13:55 UTC (permalink / raw)
To: linux-raid, Song Liu, Yu Kuai
Cc: linux-riscv, linux-kernel, Paul Walmsley, Palmer Dabbelt,
Ben Dooks
The riscv recov_rvv.c should have included pq_arch.h for
the definition of raid6_recov_rvv. Add the include to
fix the following sparse warning:
lib/raid/raid6/riscv/recov_rvv.c:218:32: warning: symbol 'raid6_recov_rvv' was not declared. Should it be static?
Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk>
---
lib/raid/raid6/riscv/recov_rvv.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/raid/raid6/riscv/recov_rvv.c b/lib/raid/raid6/riscv/recov_rvv.c
index 2305940276dd..78e158a3e332 100644
--- a/lib/raid/raid6/riscv/recov_rvv.c
+++ b/lib/raid/raid6/riscv/recov_rvv.c
@@ -8,6 +8,7 @@
#include <linux/raid/pq.h>
#include "algos.h"
#include "rvv.h"
+#include "pq_arch.h"
static void __raid6_2data_recov_rvv(int bytes, u8 *p, u8 *q, u8 *dp,
u8 *dq, const u8 *pbmul,
--
2.37.2.352.g3c44437643
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-06-22 18:21 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-22 13:55 [PATCH] raid6: fix raid6_recov_rvv symbol undeclared warning Ben Dooks
2026-06-22 18:21 ` Nam Cao
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox