summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorKunwu Chan <chentao@kylinos.cn>2023-11-26 12:57:39 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2023-12-13 14:19:07 +0300
commite123015c0ba859cf48aa7f89c5016cc6e98e018d (patch)
treea265e574706b93d2c69838b61b6d1163ad86cb66 /scripts/gdb/linux/tasks.py
parent8649829a1dd25199bbf557b2621cedb4bf9b3050 (diff)
downloadlinux-e123015c0ba859cf48aa7f89c5016cc6e98e018d.tar.xz
powerpc/powernv: Add a null pointer check in opal_powercap_init()
kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Fixes: b9ef7b4b867f ("powerpc: Convert to using %pOFn instead of device_node.name") Signed-off-by: Kunwu Chan <chentao@kylinos.cn> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20231126095739.1501990-1-chentao@kylinos.cn
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions