summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2025-02-07 01:13:17 +0300
committerJeff Johnson <jeff.johnson@oss.qualcomm.com>2025-02-11 18:27:10 +0300
commitb9c7299a3341a737622e4de45b9c27e60ad01e3b (patch)
treed1e82542335ee8d2d1a6d22a7556bb7630d75914 /tools/perf/scripts/python/mem-phys-addr.py
parent2f50de7256777003d40931f1732e6c644ec8cb80 (diff)
downloadlinux-b9c7299a3341a737622e4de45b9c27e60ad01e3b.tar.xz
wifi: ath12k: Fix locking in "QMI firmware ready" error paths
If ag->mutex has been locked, unlock it before returning. If it has not been locked, do not unlock it before returning. These bugs have been detected by the Clang thread-safety analyzer. Cc: Karthikeyan Periyasamy <quic_periyasa@quicinc.com> Cc: Jeff Johnson <jeff.johnson@oss.qualcomm.com> Fixes: ee146e11b4d9 ("wifi: ath12k: refactor core start based on hardware group") Signed-off-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Aditya Kumar Singh <aditya.kumar.singh@oss.qualcomm.com> Link: https://patch.msgid.link/20250206221317.3845663-1-bvanassche@acm.org Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions