diff options
author | Yongbae Park <yongbae2@gmail.com> | 2015-03-03 19:46:49 +0900 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2015-03-05 15:01:36 +0100 |
commit | 7b8f10da3bf1056546133c9f54f49ce389fd95ab (patch) | |
tree | 5909a392ea9dcd05abde742b6f61efbdd26f9d36 /tools | |
parent | 13a7a6ac0a11197edcd0f756a035f472b42cdf8b (diff) | |
download | linux-7b8f10da3bf1056546133c9f54f49ce389fd95ab.tar.bz2 |
clocksource: efm32: Fix a NULL pointer dereference
The initialisation of the efm32 clocksource first sets up the irq and only
after that initialises the data needed for irq handling. In case this
initialisation is delayed the irq handler would dereference a NULL pointer.
I'm not aware of anything that could delay the process in such a way, but it's
better to be safe than sorry, so setup the irq only when the clock event device
is ready.
Cc: stable@vger.kernel.org
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Yongbae Park <yongbae2@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions