aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2024-04-22 15:57:48 +0200
committerLuiz Augusto von Dentz <[email protected]>2024-04-24 16:26:19 -0400
commit7ddb9de6af0f1c71147785b12fd7c8ec3f06cc86 (patch)
treefa0ce76a75c5cecb6ea6af24e46f820f5db560eb /tools/testing/selftests/bpf/progs/test_autoload.c
parent73e87c0a49fda31d7b589edccf4c72e924411371 (diff)
Bluetooth: qca: fix NULL-deref on non-serdev setup
Qualcomm ROME controllers can be registered from the Bluetooth line discipline and in this case the HCI UART serdev pointer is NULL. Add the missing sanity check to prevent a NULL-pointer dereference when setup() is called for a non-serdev controller. Fixes: e9b3e5b8c657 ("Bluetooth: hci_qca: only assign wakeup with serial port support") Cc: [email protected] # 6.2 Cc: Zhengping Jiang <[email protected]> Signed-off-by: Johan Hovold <[email protected]> Signed-off-by: Luiz Augusto von Dentz <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions