summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-04-16 10:30:43 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-04-29 15:53:42 +0200
commitebc2ec4ecf1893b9afaecc59fbd04b2bdf34f7c2 (patch)
tree128a206c66821335fe30f285d5a97b0cdc6b47a2 /tools/perf/scripts/python/exported-sql-viewer.py
parentcf612c5949aca2bd81a1e28688957c8149ea2693 (diff)
rtc: mxc: 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 struct before requesting the IRQ. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions