From 5a6be99cc53b80ff1691e127d6dfbdd7ec4e9e45 Mon Sep 17 00:00:00 2001 From: Anup Patel Date: Thu, 28 Apr 2022 17:50:59 +0530 Subject: [PATCH] lib: sbi: Remove 's' and 'u' from misa_string() output Both 's' and 'u' are not treated as ISA extensions since these are privilege modes so let's remove it from misa_string() output. Signed-off-by: Anup Patel Reviewed-by: Atish Patra --- lib/sbi/riscv_asm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sbi/riscv_asm.c b/lib/sbi/riscv_asm.c index ddc4c13..a09cf78 100644 --- a/lib/sbi/riscv_asm.c +++ b/lib/sbi/riscv_asm.c @@ -53,7 +53,7 @@ int misa_xlen(void) void misa_string(int xlen, char *out, unsigned int out_sz) { unsigned int i, pos = 0; - const char valid_isa_order[] = "iemafdqclbjtpvnsuhkorwxyzg"; + const char valid_isa_order[] = "iemafdqclbjtpvnhkorwxyzg"; if (!out) return; -- 2.7.4