summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2019-04-30 12:32:09 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2019-05-08 23:13:37 +0300
commit060711f5274dfc2d76a5b2cd65abf6ccbf061e40 (patch)
tree2ea6a0a993fd6bb7fe1ec2f2141994b652029b40 /tools/perf/scripts/python/export-to-postgresql.py
parent86836d641d33a23c05078e152f834b949bac7565 (diff)
downloadlinux-060711f5274dfc2d76a5b2cd65abf6ccbf061e40.tar.xz
rtc: digicolor: 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. Acked-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions