summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorYongbae Park <yongbae2@gmail.com>2015-03-03 13:05:48 +0900
committerDaniel Lezcano <daniel.lezcano@linaro.org>2015-03-05 15:01:37 +0100
commit1096be084ac59927158ce80ff1d31c33eed0e565 (patch)
tree2dace8accf2d326c7d1b0e08231fe3a27403a9ec /tools
parent7b8f10da3bf1056546133c9f54f49ce389fd95ab (diff)
downloadlinux-1096be084ac59927158ce80ff1d31c33eed0e565.tar.bz2
clockevents: sun5i: Fix setup_irq init sequence
The interrupt is enabled before the handler is set. Even this bug did not appear, it is potentially dangerous as it can lead to a NULL pointer dereference. Fix the error by enabling the interrupt after clockevents_config_and_register() is called. Cc: stable@vger.kernel.org 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