summaryrefslogtreecommitdiff
path: root/include/crypto/hash_info.h
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2018-05-19 11:01:42 +0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-05-19 11:47:46 +0300
commit5490a1e018a4b447c1fdb49ec274a620e60a4d42 (patch)
treeca7326fd9063e781d6ce2fcab27f004201894ca7 /include/crypto/hash_info.h
parentd7599245007a653fb5ff96d5ae067cb3204ff7fb (diff)
downloadlinux-5490a1e018a4b447c1fdb49ec274a620e60a4d42.tar.xz
rtc: mxc_v2: 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. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'include/crypto/hash_info.h')
0 files changed, 0 insertions, 0 deletions