Skip to content
Commit 18dbfcde authored by Ammar Faizi's avatar Ammar Faizi Committed by Michael Ellerman
Browse files

powerpc/xive: Add missing null check after calling kmalloc



Commit 930914b7 ("powerpc/xive: Add a debugfs file to dump
internal XIVE state") forgot to add a null check.

Add it.

Fixes: 930914b7 ("powerpc/xive: Add a debugfs file to dump internal XIVE state")
Signed-off-by: default avatarAmmar Faizi <ammarfaizi2@gmail.com>
Reviewed-by: default avatarCédric Le Goater <clg@kaod.org>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20211226135314.251221-1-ammar.faizi@intel.com
parent e57c2fd6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment