[chrony-dev] Re: [PATCH v4] faq: Diagnose problem with RTC interrupts on Linux

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


Sigh (laugh?). Sorry for further confusion.

The patch is correct.

However, the email description of the fix is not correct.

Namely, I wrote:

> Clearly, I was mistaken; this updated version of the patch
> introduces the requested log message.
>
>      if (driver.init) {
>        if ((driver.init)()) {
>          driver_initialised = 1;
> +      } else {
> +        LOG(LOGS_ERR, "The RTC driver could not be initialised");
>        }
>      } else {
>        LOG(LOGS_ERR, "RTC not supported on this operating system");

Fortunately, the patch itself includes the requested error message
(with "The" removed):

     if (driver.init) {
       if ((driver.init)()) {
         driver_initialised = 1;
+      } else {
+        LOG(LOGS_ERR, "RTC driver could not be initialised");
       }
     } else {
       LOG(LOGS_ERR, "RTC not supported on this operating system");

-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/