aboutsummaryrefslogtreecommitdiff
path: root/net/unix/unix_bpf.c
diff options
context:
space:
mode:
authorKunwu Chan <chentao@kylinos.cn>2023-11-26 17:57:39 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2023-12-13 22:19:07 +1100
commite123015c0ba859cf48aa7f89c5016cc6e98e018d (patch)
treea265e574706b93d2c69838b61b6d1163ad86cb66 /net/unix/unix_bpf.c
parent8649829a1dd25199bbf557b2621cedb4bf9b3050 (diff)
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 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions