Thread (2 messages) 2 messages, 2 authors, 2021-08-30
STALE1790d

[PATCH] lib: sbi: Correct typo in faults delegation CSR name

From: Rahul Pathak <hidden>
Date: 2021-08-26 09:54:18
Subsystem: library code, the rest · Maintainers: Andrew Morton, Linus Torvalds

Correcting the name of faults delegation CSR
%s/mfdeleg/medeleg

Signed-off-by: Rahul Pathak <redacted>
---
 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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help