Skip to contentSkip to conversation

lib: sbi: Correct typo in faults delegation CSR name

PATCH New Rahul Pathak 2 participants 2 messages Aug 26, 2021 – Aug 30, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib: sbi: Correct typo in faults delegation CSR name

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

---
 lib/sbi/sbi_platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/sbi/sbi_platform.c +1 -1
index e8b94a3..99bd8f5 100644
@@ -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
Applied
#1 lore raw

PATCH 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

Looks good to me.

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