linux-sg2042/arch/mips/sgi-ip22
Xiaoke Wang f93e2a100e mips: sgi-ip22: add a check for the return of kzalloc()
kzalloc() is a memory allocation function which can return NULL when
some internal memory errors happen. So it is better to check it to
prevent potential wrong memory access.

Signed-off-by: Xiaoke Wang <xkernel.wang@foxmail.com>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
2022-03-30 20:25:11 +02:00
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Platform MIPS: SGI-IP22: Remove unnecessary check of GCC option 2021-12-14 10:02:40 +01:00
ip22-berr.c MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00
ip22-eisa.c MIPS: Replace setup_irq() by request_irq() 2020-03-05 16:47:35 +01:00
ip22-gio.c mips: sgi-ip22: add a check for the return of kzalloc() 2022-03-30 20:25:11 +02:00
ip22-hpc.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ip22-int.c MIPS: Replace setup_irq() by request_irq() 2020-03-05 16:47:35 +01:00
ip22-mc.c MIPS: SGI-IP22/28: Use PROM for memory detection 2019-10-09 14:55:57 -07:00
ip22-nvram.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ip22-platform.c MIPS: SGI-IP22: provide missing dma_mask/coherent_dma_mask 2019-05-13 12:02:55 -07:00
ip22-reset.c kernel.h: split out panic and oops helpers 2021-07-01 11:06:04 -07:00
ip22-setup.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ip22-time.c mips: Use the core irq stats function 2014-03-04 17:37:53 +01:00
ip28-berr.c MIPS: Allow modules to set board_be_handler 2021-11-09 16:07:26 +01:00