Files
linux/drivers
Alexandre Belloni ebc2ec4ecf 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>
2019-04-29 15:53:42 +02:00
..
2019-02-11 09:05:58 +01:00
2019-03-07 08:59:26 -07:00
2019-04-29 15:53:42 +02:00