diff options
author | Ammar Faizi <[email protected]> | 2021-12-26 20:54:02 +0700 |
---|---|---|
committer | Michael Ellerman <[email protected]> | 2022-01-04 16:03:05 +1100 |
commit | 18dbfcdedc802f9500b2c29794f22a31d27639c0 (patch) | |
tree | e6ca71ca1a06b9debe10d844f201bd730b961545 /scripts/gdb/linux | |
parent | e57c2fd6cdf8db581ac93b909b2664751e7cf30c (diff) |
powerpc/xive: Add missing null check after calling kmalloc
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 <[email protected]>
Reviewed-by: Cédric Le Goater <[email protected]>
Signed-off-by: Michael Ellerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions