Messages in this thread | | | Date | Wed, 7 Jun 2006 20:31:21 +0100 | From | Russell King <> | Subject | Re: [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/
| |