summaryrefslogtreecommitdiff
path: root/tools/lib/python/kdoc
diff options
context:
space:
mode:
authorZijun Hu <zijun.hu@oss.qualcomm.com>2026-06-01 14:30:56 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2026-06-11 21:24:39 +0300
commit6b8cbcf08de0db62254d1981f83db0f94681ccd9 (patch)
treeadc2420dd542ce9a2bf2b947470a7de81bb95d87 /tools/lib/python/kdoc
parent3ec629fee178d429f01ae843e4ea888de93012bf (diff)
downloadlinux-6b8cbcf08de0db62254d1981f83db0f94681ccd9.tar.xz
Bluetooth: hci_qca: fix NULL pointer dereference in qca_dmp_hdr() for non-serdev device
hu->serdev is NULL for hci_uart attached via non-serdev paths, but qca_dmp_hdr() unconditionally dereferences hu->serdev->dev.driver->name, causing a NULL pointer dereference. Fix by guarding the dereference with a NULL check and falling back to "hci_ldisc_qca" for the non-serdev case. Fixes: 06d3fdfcdf5c ("Bluetooth: hci_qca: Add qcom devcoredump support") Signed-off-by: Zijun Hu <zijun.hu@oss.qualcomm.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/lib/python/kdoc')
0 files changed, 0 insertions, 0 deletions