BTW, I was looking at some kernel RTC drivers, and I saw that some of
them explicitly return 0 instead of -EINVAL (if it's the correct error
code to say that the clock is set to an invalid time ; before the switch
to rtc-generic, rtc-ppc did no consistency check and hwclock worked
happily ...) _because_ of this bug. See
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/rtc/rtc-pcf8563.c;hb=b5a82d628d4491558c109fbeabc2993d6686e89c#l106
 for example.

Regards,
benjamin




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to