[PATCH] riscv/sifive: remove warning in errata
Conor Dooley
conor at kernel.org
Mon Apr 27 08:12:30 PDT 2026
On Sun, Apr 26, 2026 at 07:53:46PM -0700, Yong-Xuan Wang wrote:
> The patch_id of the availability checking for SiFive vendor extensions
> will always larger than ERRATA_SIFIVE_NUMBER. Remove this unnecessary
> warning.
I'm sorry, I don't quite understand this commit message. Where is the
other warning that makes this one unneeded?
I think the commit message needs to point out where that is.
Cheers,
Conor.
>
> Signed-off-by: Yong-Xuan Wang <yongxuan.wang at sifive.com>
> ---
> arch/riscv/errata/sifive/errata.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/arch/riscv/errata/sifive/errata.c b/arch/riscv/errata/sifive/errata.c
> index d0c61f86cba3..98edd9143321 100644
> --- a/arch/riscv/errata/sifive/errata.c
> +++ b/arch/riscv/errata/sifive/errata.c
> @@ -94,7 +94,6 @@ void sifive_errata_patch_func(struct alt_entry *begin, struct alt_entry *end,
> if (alt->vendor_id != SIFIVE_VENDOR_ID)
> continue;
> if (alt->patch_id >= ERRATA_SIFIVE_NUMBER) {
> - WARN(1, "This errata id:%d is not in kernel errata list", alt->patch_id);
> continue;
> }
>
>
> ---
> base-commit: ddbf9c76c4020bf63a0799b00faad40caa3de6c2
> change-id: 20260426-vendor-4b4427e0b670
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-riscv/attachments/20260427/f7f25f22/attachment.sig>
More information about the linux-riscv
mailing list