summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>2024-07-31 18:20:50 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2024-08-07 23:35:53 +0300
commite1d28be268cfe978e19a18a3a9b37a4a7d37745e (patch)
tree139cd21f40aa8416d8492e4f22ff06b6eafcb441 /tools/perf/scripts/python/export-to-sqlite.py
parentf3660957303b822e5dd6e10fe9e1e19afc6d33de (diff)
downloadlinux-e1d28be268cfe978e19a18a3a9b37a4a7d37745e.tar.xz
Bluetooth: hci_qca: fix a NULL-pointer derefence at shutdown
Unlike qca_regulator_init(), qca_power_shutdown() may be called for QCA_ROME which does not have qcadev->bt_power assigned. Add a NULL-pointer check before dereferencing the struct qca_power pointer. Fixes: eba1718717b0 ("Bluetooth: hci_qca: make pwrseq calls the default if available") Reported-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Closes: https://lore.kernel.org/linux-bluetooth/su3wp6s44hrxf4ijvsdfzbvv4unu4ycb7kkvwbx6ltdafkldir@4g7ydqm2ap5j/ Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions