]> git.dujemihanovic.xyz Git - u-boot.git/commit
cppcheck cleanup: fix nullPointer errors
authorWolfgang Denk <wd@denx.de>
Thu, 6 Nov 2014 13:02:57 +0000 (14:02 +0100)
committerTom Rini <trini@ti.com>
Fri, 7 Nov 2014 21:27:07 +0000 (16:27 -0500)
commit0060517ae087eed94c64c175e5042b16e0a415fa
tree827e188eba7feb81d53025aff9a72b5c355bf170
parentadbba99606a06df1435de6f1866c0e7996412e27
cppcheck cleanup: fix nullPointer errors

There are a number of places where U-Boot intentionally and legally
accesses physical address 0x0000, for example when installing
exception vectors on systems where these are located in low memory.

Add "cppcheck-suppress nullPointer" comments to silence cppcheck
where this is intentional and legal.

Signed-off-by: Wolfgang Denk <wd@denx.de>
arch/arm/cpu/arm926ejs/mxs/mxs.c
arch/arm/cpu/arm926ejs/mxs/spl_boot.c
arch/arm/cpu/armv7/zynq/ddrc.c
arch/blackfin/cpu/initcode.c
arch/powerpc/cpu/mpc85xx/cpu_init_early.c
arch/sh/lib/zimageboot.c
board/esd/pci405/cmd_pci405.c
board/keymile/common/common.c
board/scb9328/flash.c