ea4e67c43d
[ Upstream commit 45b1ba7e5d1f6881050d558baf9bc74a2ae13930 ] kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Ensure the allocation was successful by checking the pointer validity. Signed-off-by: Kunwu Chan <chentao@kylinos.cn> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20231122030651.3818-1-chentao@kylinos.cn Signed-off-by: Sasha Levin <sashal@kernel.org> |
||
---|---|---|
.. | ||
icp-hv.c | ||
icp-native.c | ||
icp-opal.c | ||
ics-opal.c | ||
ics-rtas.c | ||
Kconfig | ||
Makefile | ||
xics-common.c |