mirror of
https://github.com/apache/nuttx.git
synced 2026-09-13 06:00:17 +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>
|
||
|---|---|---|
| .. | ||
| chip.h | ||
| dm320_ahb.h | ||
| dm320_allocateheap.c | ||
| dm320_boot.c | ||
| dm320_busc.h | ||
| dm320_clkc.h | ||
| dm320_decodeirq.c | ||
| dm320_emif.h | ||
| dm320_framebuffer.c | ||
| dm320_gio.h | ||
| dm320_intc.h | ||
| dm320_irq.c | ||
| dm320_lowputc.S | ||
| dm320_memorymap.h | ||
| dm320_osd.h | ||
| dm320_restart.S | ||
| dm320_serial.c | ||
| dm320_timer.h | ||
| dm320_timerisr.c | ||
| dm320_uart.h | ||
| dm320_usb.h | ||
| dm320_usbdev.c | ||
| Kconfig | ||
| Make.defs | ||