linux-stable/drivers/clk/xilinx
Claudiu Beznea f8f1d6cee5 clk: clocking-wizard: check return value of devm_kasprintf()
[ Upstream commit b1356ed1a4 ]

devm_kasprintf() returns a pointer to dynamically allocated memory.
Pointer could be NULL in case allocation fails. Check pointer validity.
Identified with coccinelle (kmerr.cocci script).

Fixes: 2046338dcb ("ARM: mxs: Use soc bus infrastructure")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20230530093913.1656095-9-claudiu.beznea@microchip.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-07-19 16:36:07 +02:00
..
clk-xlnx-clock-wizard.c clk: clocking-wizard: check return value of devm_kasprintf() 2023-07-19 16:36:07 +02:00
Kconfig clk: xilinx: Drop duplicate depends on COMMON_CLK 2022-10-17 15:30:00 -07:00
Makefile
xlnx_vcu.c clk: xilinx: Convert to platform remove callback returning void 2023-03-28 19:31:45 -07:00