aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAlexey Khoroshilov <khoroshilov@ispras.ru>2017-10-21 18:03:44 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-08 08:26:50 -0500
commitf53459c00871a7c3db5b69b49d840ca9d497a695 (patch)
tree8681cb2fabc0ae2344c867c885dc55cdccd6696a /tools/perf/scripts/python/exported-sql-viewer.py
parentd4035a8c1ff7288af9e47d6d05384f14c9308ea1 (diff)
w1: keep balance of mutex locks and refcnts
w1_therm_eeprom() and w1_DS18B20_precision() decrement THERM_REFCNT on error paths, while they did not increment it yet. read_therm() unlocks bus mutex on some error paths, while it is not acquired. The patch makes sure all the functions keep the balance in usage of the mutex and the THERM_REFCNT. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions