riscv/sifive: remove warning in errata
Subsystems (2)
PATCH 1/1 riscv/sifive: remove warning in errata
The patch_id of the availability checking for SiFive vendor extensions will always larger than ERRATA_SIFIVE_NUMBER. Remove this unnecessary warning.
--- arch/riscv/errata/sifive/errata.c | 1 - 1 file changed, 1 deletion(-)
arch/riscv/errata/sifive/errata.c +0 -1
@@ -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
Quoted 3 lines · Yong-Xuan Wang
The
patch_idof the availability checking for SiFive vendor extensions will always larger thanERRATA_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.
Quoted 23 lines
Signed-off-by Yong-Xuan Wang <[email protected]>--- arch/riscv/errata/sifive/errata.c | 1 - 1 file changed, 1 deletion(-)arch/riscv/errata/sifive/errata.c +0
-2@@ -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
Hi Conor,
Quoted 10 lines · Conor Dooley
Quoted 3 lines · Yong-Xuan Wang
The
patch_idof the availability checking for SiFive vendor extensions will always larger thanERRATA_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.
Sorry it's my fault. I will update the commit message in the next version.
Regards,
Yong-Xuan
Quoted 26 lines
Cheers,
Conor.Quoted 23 lines
Signed-off-by Yong-Xuan Wang <[email protected]>--- arch/riscv/errata/sifive/errata.c | 1 - 1 file changed, 1 deletion(-)arch/riscv/errata/sifive/errata.c +0
-2@@ -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