WSL2-Linux-Kernel/drivers/clk/pxa
Xiaoke Wang 117a1542c0 clk: pxa: add a check for the return value 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>
Link: https://lore.kernel.org/r/tencent_2B9817738F38B02844C245946EFF3B407E09@qq.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2022-10-03 12:32:03 -07:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
clk-pxa.c clk: pxa: add a check for the return value of kzalloc() 2022-10-03 12:32:03 -07:00
clk-pxa.h ARM: pxa: move clk register definitions to driver 2022-05-07 22:55:49 +02:00
clk-pxa2xx.h ARM: pxa: move clk register definitions to driver 2022-05-07 22:55:49 +02:00
clk-pxa3xx.c ARM: pxa: move clk register definitions to driver 2022-05-07 22:55:49 +02:00
clk-pxa25x.c ARM: pxa: move clk register definitions to driver 2022-05-07 22:55:49 +02:00
clk-pxa27x.c ARM: pxa: move clk register definitions to driver 2022-05-07 22:55:49 +02:00