mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
powerpc/powernv: Add a null pointer check in opal_event_init()
[ Upstream commit8649829a1d] kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Fixes:2717a33d60("powerpc/opal-irqchip: Use interrupt names if present") Signed-off-by: Kunwu Chan <chentao@kylinos.cn> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20231127030755.1546750-1-chentao@kylinos.cn Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
a9c05cbb66
commit
e08c2e275f
1 changed files with 2 additions and 0 deletions
Loading…
Add table
Add a link
Reference in a new issue