[PATCH 0/2] Misc compile error/warning fixes

Anup Patel anup.patel at wdc.com
Wed Dec 1 22:04:56 PST 2021


This series does few compile error/warning fixes which I discovered
trying CLANG with OpenSBI.

These patches can also be found in clang_fixes_v1 branch at:
https://github.com/riscv-software-src/opensbi.git

Anup Patel (2):
  Makefile: Fix -mno-save-restore compile warning with CLANG
  lib: sbi: Fix compile errors using -Os option

 Makefile            | 12 ++++++++----
 lib/sbi/riscv_asm.c |  3 ++-
 lib/sbi/sbi_ecall.c |  5 ++++-
 lib/sbi/sbi_hart.c  | 12 +++++++++---
 4 files changed, 23 insertions(+), 9 deletions(-)

-- 
2.25.1




More information about the opensbi mailing list