lib: sbi: Correct typo in faults delegation CSR name
PATCH 1/1 lib: sbi: Correct typo in faults delegation CSR name
Correcting the name of faults delegation CSR
%s/mfdeleg/medeleg
Signed-off-by Rahul Pathak <[email protected]>
--- lib/sbi/sbi_platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
lib/sbi/sbi_platform.c +1 -1
@@ -20,7 +20,7 @@ static inline char *sbi_platform_feature_id2string(unsigned long feature)switch (feature) {case SBI_PLATFORM_HAS_MFAULTS_DELEGATION : - fstr ="mfdeleg" ; + fstr ="medeleg" ;break ;default :break ;
Signature · 1 line
2.25.1
Anup Patel
AppliedPATCH 1/1 lib: sbi: Correct typo in faults delegation CSR name
?On 26/08/21, 9:13 PM, "opensbi on behalf of Rahul Pathak" <opensbi-bounces at lists.infradead.org on behalf of [email protected]> wrote:
Correcting the name of faults delegation CSR
%s/mfdeleg/medeleg
Signed-off-by Rahul Pathak <[email protected]>
Looks good to me.
Reviewed-by Anup Patel <[email protected]>
Applied this patch to the riscv/opensbi repo.
Thanks,
Anup
---
lib/sbi/sbi_platform.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sbi/sbi_platform.c b/lib/sbi/sbi_platform.c
index e8b94a3..99bd8f5 100644
--- a/lib/sbi/sbi_platform.c
+++ b/lib/sbi/sbi_platform.c
@@ -20,7 +20,7 @@ static inline char *sbi_platform_feature_id2string(unsigned long feature)
switch (feature) {
case SBI_PLATFORM_HAS_MFAULTS_DELEGATION:
- fstr = "mfdeleg";
+ fstr = "medeleg";
break;
default:
break;
--
2.25.1
--
opensbi mailing list
opensbi at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/opensbi