kernel_optimize_test/arch/mips/lantiq
Xiaoke Wang 9b7f321106 MIPS: lantiq: check the return value of kzalloc()
[ Upstream commit 34123208bbcc8c884a0489f543a23fe9eebb5514 ]

kzalloc() is a memory allocation function which can return NULL when
some internal memory errors happen. So it is better to check the
return value of it to prevent potential wrong memory access or
memory leak.

Signed-off-by: Xiaoke Wang <xkernel.wang@foxmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-05-25 09:17:54 +02:00
..
falcon MIPS: lantiq: check the return value of kzalloc() 2022-05-25 09:17:54 +02:00
xway MIPS: lantiq: check the return value of kzalloc() 2022-05-25 09:17:54 +02:00
clk.c mips: lantiq: add support for clk_set_parent() 2022-01-27 10:54:09 +01:00
clk.h
early_printk.c
irq.c
Kconfig
Makefile
Platform
prom.c MIPS: Use address-of operator on section symbols 2022-05-15 20:00:08 +02:00
prom.h