lkml.org 
[lkml]   [2006]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] RTC: Ensure that time being passed to set_alarm() is valid.
On Wed, Jun 07, 2006 at 08:20:55PM +0200, Andrew Victor wrote:
> RTC: Ensure that the time being passed to set_alarm() is valid.

NAK. rtc_valid_tm checks that the time/date is valid (eg, month is
within range). Alarms can have a "don't care" state for each part -
for example, setting month to 0xff means "alarm every month".

See the API exposed by /dev/rtc on x86 by virtue of being the
MC146818 register set.

--
Russell King
Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
maintainer of: 2.6 Serial core
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-07 21:34    [W:0.037 / U:1.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site