lib: sbi: Correct typo in faults delegation CSR name
authorRahul Pathak <rpathak@ventanamicro.com>
Thu, 26 Aug 2021 09:54:18 +0000 (15:24 +0530)
committerAnup Patel <anup@brainfault.org>
Mon, 30 Aug 2021 03:37:47 +0000 (09:07 +0530)
Correcting the name of faults delegation CSR
%s/mfdeleg/medeleg

Signed-off-by: Rahul Pathak <rpathak@ventanamicro.com>
Reviewed-by: Anup Patel <anup.patel@wdc.com>
lib/sbi/sbi_platform.c

index e8b94a3..99bd8f5 100644 (file)
@@ -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;