lib: sbi: fwft: return SBI_EINVAL rather than SBI_ERR_INVALID_PARAM
authorClément Léger <cleger@rivosinc.com>
Mon, 24 Jun 2024 10:29:09 +0000 (12:29 +0200)
committerAnup Patel <anup@brainfault.org>
Wed, 26 Jun 2024 12:44:49 +0000 (18:14 +0530)
commitcaae2f7d455c78c509782e1eb8d47dfdd874b903
treea1674acb081008b04d57365b4cd38444fdb39406
parente8717d126401435896b0e96c18e187f0b2431d5e
lib: sbi: fwft: return SBI_EINVAL rather than SBI_ERR_INVALID_PARAM

Error code returned by the ecall handles should use the defines from
sbi_ecall_interface.h rather than sbi_error.h.

Signed-off-by: Clément Léger <cleger@rivosinc.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Reviewed-by: Anup Patel <anup@brainfault.org>
lib/sbi/sbi_fwft.c