diff options
| author | WEI Mingjiang <[email protected]> | 2026-11-08 16:20:04 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2026-11-08 16:20:04 +0800 |
| commit | adbf7de5d1813f7201dfcd69d7955eb017117277 (patch) | |
| tree | e0080da8f75d5f370a97b250819cbad28f51a6ef /documentation/5.device/rtc | |
| parent | 37d8b8d1d0b8b39d9238cd86dac2a1ae79d190c1 (diff) | |
* fix(libcpu/arm): correct format specifiers in GIC dump functions
Fix -Wformat warnings in arm_gic_dump_type() and arm_gic_dump() for
both GICv2 (gic.c) and GICv3 (gicv3.c):
- %p with rt_uint32_t physical address -> 0x%08x (non-pointer passed to
%p is undefined behavior)
- %d with unsigned int / unsigned long -> %u (signed/unsigned mismatch)
- Add explicit (unsigned int) cast for GIC version extracted with 0xfUL
These warnings appear when compiling Cortex-A BSPs with -Wall -Wformat.
* style: format code with clang-format
* style: format code with clang-format
* [libcpu][arm] Fix undefined signed shift in GIC RWP macros
---------
Co-authored-by: Rbb666 <[email protected]>
Diffstat (limited to 'documentation/5.device/rtc')
0 files changed, 0 insertions, 0 deletions
