]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
raid6: fix raid6_recov_rvv symbol undeclared warning
authorBen Dooks <ben.dooks@codethink.co.uk>
Mon, 22 Jun 2026 13:55:35 +0000 (14:55 +0100)
committerPaul Walmsley <pjw@kernel.org>
Thu, 25 Jun 2026 17:51:32 +0000 (11:51 -0600)
commit5c5dea43f6354e8dbd13bcb7e478f85593e19d90
tree143e3d97002372f9b033a9136680faa92e2336a4
parent625ee71c3283dd322856060f9f4d344e2edc3c14
raid6: fix raid6_recov_rvv symbol undeclared warning

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>
Reviewed-by: Nam Cao <namcao@linutronix.de>
Link: https://patch.msgid.link/20260622135535.481534-1-ben.dooks@codethink.co.uk
Signed-off-by: Paul Walmsley <pjw@kernel.org>
lib/raid/raid6/riscv/recov_rvv.c