On Dec 4, 2007 11:41 AM, Alessandro Zummo <[EMAIL PROTECTED]> wrote:
> it should be EINVAL. at least it is wat rtc-cmos does when the value
> is invalid.
in the example rtc test code (Documentation/rtc.txt), would it be
useful to handle EINVAL ? if the freq isnt supported, just say
"hardware does not support frequency %i" and continue on to try the
next freq ? the current code just does:
perror("RTC_IRQP_SET ioctl");
exit(errno);
-mike
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/