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

Anup Patel Anup.Patel at wdc.com
Sun Aug 29 20:40:00 PDT 2021



On 26/08/21, 9:13 PM, "opensbi on behalf of Rahul Pathak" <opensbi-bounces at lists.infradead.org on behalf of rpathak at ventanamicro.com> wrote:

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

    Signed-off-by: Rahul Pathak <rpathak at ventanamicro.com>

Looks good to me.

Reviewed-by: Anup Patel <anup.patel at wdc.com>

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



More information about the opensbi mailing list