nuttx/arch/arm/src/armv8-m
Xiang Xiao d1a3f5e47f arch/arm: Replace xxx_[bus|usage]fault with arm_[bus|usage]fault
to fix the following clang warning:
Error: chip/eoss3_irq.c:138:47: error: format specifies type 'unsigned int' but the argument has type 'uint32_t' (aka 'unsigned long') [-Werror,-Wformat]
  _err("PANIC!!! Bus fault received: %08x\n", getreg32(NVIC_CFAULTS));
                                     ~~~~     ^~~~~~~~~~~~~~~~~~~~~~
                                     %08lx
/github/workspace/sources/nuttx/include/debug.h:126:57: note: expanded from macro '_err'
   __arch_syslog(LOG_ERR, EXTRA_FMT format EXTRA_ARG, ##__VA_ARGS__)
                                    ~~~~~~              ^~~~~~~~~~~
/github/workspace/sources/nuttx/arch/arm/src/common/arm_internal.h:134:24: note: expanded from macro 'getreg32'
                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: chip/eoss3_irq.c:146:49: error: format specifies type 'unsigned int' but the argument has type 'uint32_t' (aka 'unsigned long') [-Werror,-Wformat]
  _err("PANIC!!! Usage fault received: %08x\n", getreg32(NVIC_CFAULTS));
                                       ~~~~     ^~~~~~~~~~~~~~~~~~~~~~
                                       %08lx

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2022-10-30 16:03:35 +01:00
..
arm_busfault.c
arm_cache.c
arm_doirq.c
arm_exception.S
arm_fpucmp.c
arm_fpuconfig.c
arm_hardfault.c
arm_initialstate.c
arm_itm_syslog.c
arm_itm.c
arm_memfault.c
arm_mpu.c
arm_perf.c
arm_ramvec_attach.c
arm_ramvec_initialize.c
arm_sau.c
arm_schedulesigaction.c
arm_secure_irq.c
arm_securefault.c
arm_sigdeliver.c
arm_stackcheck.c
arm_svcall.c
arm_systemreset.c
arm_systick.c
arm_tcbinfo.c
arm_trigger_irq.c
arm_usagefault.c
arm_vectors.c
barriers.h
dwt.h
etm.h
exc_return.h
fpb.h
itm_syslog.h
itm.h
Kconfig
Make.defs
mpu.h
nvic.h
psr.h
ram_vectors.h
sau.h
systick.h
Toolchain.defs
tpi.h