aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-10-13 00:04:47 +0200
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-10-13 00:10:12 +0200
commit9da32ba64d59d577297bf766a3f12753ebef5712 (patch)
treeb3d8ba4e5f3f1bf14edb2f06be2b01d47e4248c9 /tools/perf/scripts/python/export-to-sqlite.py
parentrtc: abx80x: switch to rtc_register_device (diff)
downloadlinux-9da32ba64d59d577297bf766a3f12753ebef5712.tar.gz
linux-9da32ba64d59d577297bf766a3f12753ebef5712.zip
rtc: abx80x: solve race condition
There is a race condition that can happen if abx80x_probe() fails after the rtc registration succeeded. Solve that by moving the registration at the end of the probe function. Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions