diff options
author | 2023-03-21 19:48:26 +0800 | |
---|---|---|
committer | 2023-04-23 21:57:00 -0700 | |
commit | 253cf30e8d3d001850a95c4729d668f916b037ab (patch) | |
tree | 89ee194bcca0e64573881543af6a7c23534df749 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bluetooth: Add device 13d3:3571 to device tables (diff) | |
download | linux-rng-253cf30e8d3d001850a95c4729d668f916b037ab.tar.xz linux-rng-253cf30e8d3d001850a95c4729d668f916b037ab.zip |
Bluetooth: btrtl: check for NULL in btrtl_set_quirks()
The btrtl_set_quirks() has accessed btrtl_dev->ic_info->lmp_subver since
b8e482d02513. However, if installing a Realtek Bluetooth controller
without the driver supported, it will hit the NULL point accessed.
Add a check for NULL to avoid the Kernel Oops.
Signed-off-by: Max Chou <max.chou@realtek.com>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions