Re: [PATCH v3] riscv: Discard vector state on syscalls

From: Björn Töpel
Date: Thu Jun 29 2023 - 09:48:24 EST


Conor Dooley <conor.dooley@xxxxxxxxxxxxx> writes:

> clang allmodconfig and rv32_defconfig fail to build with this patch,
> according to patchwork:
> ../arch/riscv/kernel/traps.c:299:3: error: call to undeclared function 'riscv_v_vstate_discard'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]

Ugh. Sloppy. :-(

Thank you!
Björn