aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorAlexandre Belloni <[email protected]>2018-05-20 14:33:36 +0200
committerAlexandre Belloni <[email protected]>2018-05-23 09:25:27 +0200
commitd482510fee9957ffaca3a0357c655628f3e3870b (patch)
tree74185f8d03ec53dfba3343c132a7f8d116dd817a /tools/perf/scripts/python/export-to-sqlite.py
parentb72252b6580c9c7ad74644642378e2a9a86b2283 (diff)
rtc: st-lpc: fix possible race condition
The IRQ is requested before the struct rtc is allocated and registered, but this struct is used in the IRQ handler. This may lead to a NULL pointer dereference. Switch to devm_rtc_allocate_device/rtc_register_device to allocate the rtc before requesting the IRQ. Acked-by: Patrice Chotard <[email protected]> Signed-off-by: Alexandre Belloni <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions