diff options
author | 2023-11-27 11:07:55 +0800 | |
---|---|---|
committer | 2023-12-13 22:19:03 +1100 | |
commit | 8649829a1dd25199bbf557b2621cedb4bf9b3050 (patch) | |
tree | 11206dbbdb051ebca8a39380a15f10578c9a1cb2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | powerpc/powernv: Add a null pointer check to scom_debug_init_one() (diff) | |
download | wireguard-linux-8649829a1dd25199bbf557b2621cedb4bf9b3050.tar.xz wireguard-linux-8649829a1dd25199bbf557b2621cedb4bf9b3050.zip |
powerpc/powernv: Add a null pointer check in opal_event_init()
kasprintf() returns a pointer to dynamically allocated memory
which can be NULL upon failure.
Fixes: 2717a33d6074 ("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
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions