summaryrefslogtreecommitdiff
path: root/documentation
diff options
context:
space:
mode:
authorWEI Mingjiang <[email protected]>2026-11-08 16:20:04 +0800
committerGitHub <[email protected]>2026-11-08 16:20:04 +0800
commitadbf7de5d1813f7201dfcd69d7955eb017117277 (patch)
treee0080da8f75d5f370a97b250819cbad28f51a6ef /documentation
parent37d8b8d1d0b8b39d9238cd86dac2a1ae79d190c1 (diff)
[libcpu][arm] Correct format specifiers in GIC dump functions (#11914)HEADmaster
* 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')
0 files changed, 0 insertions, 0 deletions