alistair23-linux/arch/tile/kernel
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
..
vdso tile: implement gettimeofday() via vDSO 2013-08-13 16:26:21 -04:00
asm-offsets.c tile: check for correct compiler earlier in asm-offsets.c 2013-09-03 14:53:09 -04:00
backtrace.c arch/tile: big-endian: properly bswap instruction bundles when backtracing 2012-06-18 13:11:21 -04:00
compat.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal 2013-05-01 07:21:43 -07:00
compat_signal.c tile: implement gettimeofday() via vDSO 2013-08-13 16:26:21 -04:00
early_printk.c tile: various console improvements 2013-08-12 14:46:18 -04:00
entry.S tile: implement gettimeofday() via vDSO 2013-08-13 16:26:21 -04:00
ftrace.c tile: support ftrace on tilegx 2013-08-30 10:20:13 -04:00
futex_64.S
hardwall.c tile: support CONFIG_PREEMPT 2013-08-13 16:26:01 -04:00
head_32.S tile: parameterize VA and PA space more cleanly 2013-09-03 14:47:34 -04:00
head_64.S tile: parameterize VA and PA space more cleanly 2013-09-03 14:47:34 -04:00
hvglue.S tile: provide traceability for hypervisor calls 2013-08-13 16:26:31 -04:00
hvglue_trace.c tile: provide traceability for hypervisor calls 2013-08-13 16:26:31 -04:00
intvec_32.S tile: remove support for TILE64 2013-09-03 14:53:29 -04:00
intvec_64.S tile: remove support for TILE64 2013-09-03 14:53:29 -04:00
irq.c tile: remove support for TILE64 2013-09-03 14:53:29 -04:00
kgdb.c tilegx: support KGDB 2013-09-03 14:51:26 -04:00
kprobes.c tile: support kprobes on tilegx 2013-08-30 11:55:53 -04:00
machine_kexec.c arch/tile: support kexec() for tilegx 2012-05-25 12:48:25 -04:00
Makefile tilegx: support KGDB 2013-09-03 14:51:26 -04:00
mcount_64.S tile: support ftrace on tilegx 2013-08-30 10:20:13 -04:00
messaging.c
module.c modules: don't hand 0 to vmalloc. 2012-12-14 13:06:43 +10:30
pci-dma.c tile PCI DMA: fix bug in non-page-aligned accessors 2013-08-06 12:56:04 -04:00
pci.c tile: mark pcibios_init() as __init 2013-09-03 14:53:15 -04:00
pci_gx.c tile: mark pcibios_init() as __init 2013-09-03 14:53:15 -04:00
proc.c tile: fast-path unaligned memory access for tilegx 2013-08-13 16:04:10 -04:00
process.c tile: remove support for TILE64 2013-09-03 14:53:29 -04:00
ptrace.c tile: correct r1 value during syscall tracing 2013-08-30 11:56:20 -04:00
reboot.c tile: various console improvements 2013-08-12 14:46:18 -04:00
regs_32.S tile: change <asm/system.h> to <asm/switch_to.h> in comments 2013-09-03 14:53:17 -04:00
regs_64.S tile: change <asm/system.h> to <asm/switch_to.h> in comments 2013-09-03 14:53:17 -04:00
relocate_kernel_32.S tile: remove support for TILE64 2013-09-03 14:53:29 -04:00
relocate_kernel_64.S tile: remove support for TILE64 2013-09-03 14:53:29 -04:00
setup.c tile: add null check for kzalloc in tile/kernel/setup.c 2013-09-03 14:53:34 -04:00
signal.c tile: implement gettimeofday() via vDSO 2013-08-13 16:26:21 -04:00
single_step.c tile: remove support for TILE64 2013-09-03 14:53:29 -04:00
smp.c tile: make __write_once a synonym for __read_mostly 2013-09-03 14:53:32 -04:00
smpboot.c tile: support CONFIG_PREEMPT 2013-08-13 16:26:01 -04:00
stack.c tile: don't assume user privilege is zero 2013-09-03 14:45:52 -04:00
sys.c tile: support CONFIG_PREEMPT 2013-08-13 16:26:01 -04:00
sysfs.c tile: support reporting Tilera hypervisor statistics 2013-09-03 14:51:36 -04:00
tile-desc_32.c
tile-desc_64.c
time.c tile: implement gettimeofday() via vDSO 2013-08-13 16:26:21 -04:00
tlb.c tile: do less L1 I-cache eviction 2013-08-30 11:56:34 -04:00
traps.c tile: use standard tile_bundle_bits type in traps.c 2013-09-03 14:53:22 -04:00
unaligned.c tile: fast-path unaligned memory access for tilegx 2013-08-13 16:04:10 -04:00
usb.c usb: add host support for the tilegx architecture 2012-07-18 16:40:29 -04:00
vdso.c tile: implement gettimeofday() via vDSO 2013-08-13 16:26:21 -04:00
vmlinux.lds.S tile: make __write_once a synonym for __read_mostly 2013-09-03 14:53:32 -04:00