diff options
author | Ammar Faizi <ammarfaizi2@gmail.com> | 2021-12-26 16:54:02 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-27 13:04:18 +0300 |
commit | ef9893bb73e75d1dae8680a6b755d370569113d7 (patch) | |
tree | 5035cb8baabae1a9e3d305030723b533f77d737b /drivers/ntb/Makefile | |
parent | f1750bf326908ca210b49a5a630306820217362e (diff) | |
download | linux-ef9893bb73e75d1dae8680a6b755d370569113d7.tar.xz |
powerpc/xive: Add missing null check after calling kmalloc
[ Upstream commit 18dbfcdedc802f9500b2c29794f22a31d27639c0 ]
Commit 930914b7d528fc ("powerpc/xive: Add a debugfs file to dump
internal XIVE state") forgot to add a null check.
Add it.
Fixes: 930914b7d528fc6b0249bffc00564100bcf6ef75 ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/ntb/Makefile')
0 files changed, 0 insertions, 0 deletions