summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2022-02-01 20:42:56 +0300
committerMarcel Holtmann <marcel@holtmann.org>2022-03-04 18:10:49 +0300
commit8cd3c55c629efd91e5f2b3e89d850575c5b90d47 (patch)
tree025a4a640cbdce10b65571a7ce57a0272bf6f028 /tools/perf/scripts/python/exported-sql-viewer.py
parent3a0318140a6f8c3ab60f1f46c3f203923cb01882 (diff)
downloadlinux-8cd3c55c629efd91e5f2b3e89d850575c5b90d47.tar.xz
Bluetooth: hci_sync: fix undefined return of hci_disconnect_all_sync()
clang static analysis reports this problem hci_sync.c:4428:2: warning: Undefined or garbage value returned to caller return err; ^~~~~~~~~~ If there are no connections this function is a noop but err is never set and a false error could be reported. Return 0 as other hci_* functions do. Fixes: 182ee45da083 ("Bluetooth: hci_sync: Rework hci_suspend_notifier") Signed-off-by: Tom Rix <trix@redhat.com> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions