mirror of
https://github.com/apache/nuttx.git
synced 2026-09-12 21:50:14 +00:00
since gcc report the false alarm if the pointer offset from zero address:
inlined from 'up_vectormapping' at chip/dm320_boot.c:162:7,
inlined from 'arm_boot' at chip/dm320_boot.c:211:3:
Error: chip/dm320_boot.c:117:17: error: array subscript 0 is outside array bounds of 'uint32_t[0]' {aka 'long unsigned int[]'} [-Werror=array-bounds=]
117 | ctable[index] = (paddr | mmuflags);
| ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
|
||
|---|---|---|
| .. | ||
| hardware | ||
| a1x_boot.c | ||
| a1x_boot.h | ||
| a1x_config.h | ||
| a1x_irq.c | ||
| a1x_irq.h | ||
| a1x_lowputc.c | ||
| a1x_lowputc.h | ||
| a1x_pio.c | ||
| a1x_pio.h | ||
| a1x_serial.c | ||
| a1x_serial.h | ||
| a1x_timerisr.c | ||
| chip.h | ||
| Kconfig | ||
| Make.defs | ||