linux/arch/tile
Wang Sheng-Hui 6d715790ef tile: add null check for kzalloc in tile/kernel/setup.c
Should check the return value of kzalloc first to avoid the null pointer.
Then can dereference the non-null pointer to access the fields of struct
resource.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
2013-09-03 14:53:34 -04:00
..
configs md: remove CONFIG_MULTICORE_RAID456 entirely 2013-03-20 13:21:14 +11:00
gxio tilegx: provide kernel support for the tilegx UART shim 2013-09-03 14:50:36 -04:00
include tile: make __write_once a synonym for __read_mostly 2013-09-03 14:53:32 -04:00
kernel tile: add null check for kzalloc in tile/kernel/setup.c 2013-09-03 14:53:34 -04:00
kvm arch/tile/kvm: remove depends on CONFIG_EXPERIMENTAL 2013-01-17 12:11:26 -08:00
lib tile: remove support for TILE64 2013-09-03 14:53:29 -04:00
mm tile: make __write_once a synonym for __read_mostly 2013-09-03 14:53:32 -04:00
Kbuild
Kconfig tile: remove support for TILE64 2013-09-03 14:53:29 -04:00
Kconfig.debug tile: remove DEBUG_EXTRA_FLAGS kernel config option 2013-09-03 14:52:17 -04:00
Makefile tile: remove DEBUG_EXTRA_FLAGS kernel config option 2013-09-03 14:52:17 -04:00