Thomas Gleixner 53cc2820ac rtc: Handle errors correctly in rtc_irq_set_state()
In rtc_irq_set_state, the code checks the correctness of the parameters,
but then goes on to unconditionally arms/disarms the hrtimer. Thus a
random task might arm/disarm rtc timer and surprise the real owner by
either generating events or by stopping them.

Cc: stable@kernel.org
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: John Stultz <john.stultz@linaro.org>
2011-07-26 14:49:57 -07:00
..
2011-05-26 17:12:32 -07:00
2011-06-11 15:06:48 -07:00
2011-05-06 09:27:55 -07:00
2011-06-06 14:14:56 +02:00
2011-06-14 15:15:25 +09:00
2011-05-30 11:14:15 +09:30