aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorJohn Stultz <[email protected]>2011-01-20 15:26:12 -0800
committerThomas Gleixner <[email protected]>2011-01-21 17:38:19 +0100
commitaa0be0f4659f91f31e45adc422b1788cb36ffddc (patch)
tree02eed33d672f36e41e735c5060acb9d2446c23af /net/lapb/lapb_iface.c
parentdb6b175fa6ad1408cbb2fb62949a6d55cfece03e (diff)
RTC: Propagate error handling via rtc_timer_enqueue properly
In cases where RTC hardware does not support alarms, the virtualized RTC interfaces did not have a way to propagate the error up to userland. This patch extends rtc_timer_enqueue so it catches errors from the hardware and returns them upwards to the virtualized interfaces. To simplify error handling, it also internalizes the management of the timer->enabled bit into rtc_timer_enqueue and rtc_timer_remove. Also makes rtc_timer_enqueue and rtc_timer_remove static. Reported-by: David Daney <[email protected]> Reported-by: Andreas Schwab <[email protected]> Reported-by: Geert Uytterhoeven <[email protected]> Diagnosed-by: David Daney <[email protected]> Tested-by: David Daney <[email protected]> Signed-off-by: John Stultz <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions