bianbu-linux-6.6/arch/powerpc/sysdev/xive
Ammar Faizi 18dbfcdedc powerpc/xive: Add missing null check after calling kmalloc
Commit 930914b7d5 ("powerpc/xive: Add a debugfs file to dump
internal XIVE state") forgot to add a null check.

Add it.

Fixes: 930914b7d5 ("powerpc/xive: Add a debugfs file to dump internal XIVE state")
Signed-off-by: Ammar Faizi <ammarfaizi2@gmail.com>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211226135314.251221-1-ammar.faizi@intel.com
2022-01-04 16:03:05 +11:00
..
common.c powerpc/xive: Fix compile when !CONFIG_PPC_POWERNV. 2021-12-02 10:40:38 +11:00
Kconfig powerpc/xive: Change IRQ domain to a tree domain 2021-11-17 21:55:42 +11:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
native.c powerpc/sysdev: Add __init attribute to eligible functions 2021-12-23 22:33:12 +11:00
spapr.c powerpc/xive: Add missing null check after calling kmalloc 2022-01-04 16:03:05 +11:00
xive-internal.h powerpc/xive: Fix compile when !CONFIG_PPC_POWERNV. 2021-12-02 10:40:38 +11:00