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

Anup Patel anup.patel at wdc.com
Thu Dec 2 04:29:27 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_v3 branch at:
https://github.com/riscv-software-src/opensbi.git

Changes since v2:
 - Make memcpy() and memset() as weak-alias of sbi_memcpy() and
   sbi_memset() respectively in PATCH2

Changes since v1:
 - Use explicit inline macro sbi_trap_info_init() in PATCH2 for
   initializing struct sbi_trap_info.

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

 Makefile             | 12 ++++++++----
 lib/sbi/sbi_string.c |  6 ++++++
 2 files changed, 14 insertions(+), 4 deletions(-)

-- 
2.25.1




More information about the opensbi mailing list