Hello Guenter, On Tue, Nov 24, 2015 at 08:45:05AM -0800, Guenter Roeck wrote: > On 11/24/2015 08:11 AM, Uwe Kleine-König wrote: > >On Tue, Nov 24, 2015 at 07:03:13AM -0800, Guenter Roeck wrote: > >>thanks a lot for the Ack. I have v6 in the works, which changes recording > >>of last_keepalive when the watchdog is started. Does your Ack include that > >>change, or do you prefer to have another look ? > > > >this change is to sample jiffies before .start is called as I suggested, > >right? For that change keeping my ack is ok of course. > > > > Correct. This is how the code now looks like. > > started_at = jiffies; > if (watchdog_hw_running(wdd) && wdd->ops->ping) > err = wdd->ops->ping(wdd); > else > err = wdd->ops->start(wdd); > if (err == 0) { > set_bit(WDOG_ACTIVE, &wdd->status); > wdd->last_keepalive = started_at; > watchdog_update_worker(wdd); > } \o/ Uwe -- Pengutronix e.K. | Uwe Kleine-König | Industrial Linux Solutions | http://www.pengutronix.de/ | -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html