diff options
author | Colin Ian King <colin.king@canonical.com> | 2021-09-09 15:35:41 +0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2021-09-10 10:28:32 +0300 |
commit | 8bba13b1d08d42e2e8308924fa5c1551a7b2b011 (patch) | |
tree | 70331aba8e55794ca215f19b8c4648d73fafc8cd /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 5031ffcc79b81776ac8f7f8b1a585aed8818e3d1 (diff) | |
download | linux-8bba13b1d08d42e2e8308924fa5c1551a7b2b011.tar.xz |
Bluetooth: btintel: Fix incorrect out of memory check
Currently *ven_data is being assigned the return from a kmalloc call but
the out-of-memory check is checking ven_data and not *ven_data. Fix this
by adding the missing dereference * operator,
Addresses-Coverity: ("Dereference null return")
Fixes: 70dd978952bc ("Bluetooth: btintel: Define a callback to fetch codec config data")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions