Re: [PATCH v2] watchdog: core: don't try to stop device if not running

2013-04-08 Thread Hector Palacios
On 04/08/2013 03:41 PM, Guenter Roeck wrote: On Mon, Apr 08, 2013 at 11:10:58AM +0200, Hector Palacios wrote: A watchdog device may be stopped from userspace using WDIOC_SETOPTIONS ioctl and flag WDIOS_DISABLECARD. If the device is closed after this operation, watchdog_release() is called and

Re: [PATCH v2] watchdog: core: don't try to stop device if not running

2013-04-08 Thread Guenter Roeck
On Mon, Apr 08, 2013 at 11:10:58AM +0200, Hector Palacios wrote: > A watchdog device may be stopped from userspace using WDIOC_SETOPTIONS > ioctl and flag WDIOS_DISABLECARD. If the device is closed after this > operation, watchdog_release() is called and status bits checked for > stopping it.

[PATCH v2] watchdog: core: don't try to stop device if not running

2013-04-08 Thread Hector Palacios
A watchdog device may be stopped from userspace using WDIOC_SETOPTIONS ioctl and flag WDIOS_DISABLECARD. If the device is closed after this operation, watchdog_release() is called and status bits checked for stopping it. Besides, if the device has not been unregistered a critical message "watchdog

[PATCH v2] watchdog: core: don't try to stop device if not running

2013-04-08 Thread Hector Palacios
A watchdog device may be stopped from userspace using WDIOC_SETOPTIONS ioctl and flag WDIOS_DISABLECARD. If the device is closed after this operation, watchdog_release() is called and status bits checked for stopping it. Besides, if the device has not been unregistered a critical message watchdog

Re: [PATCH v2] watchdog: core: don't try to stop device if not running

2013-04-08 Thread Guenter Roeck
On Mon, Apr 08, 2013 at 11:10:58AM +0200, Hector Palacios wrote: A watchdog device may be stopped from userspace using WDIOC_SETOPTIONS ioctl and flag WDIOS_DISABLECARD. If the device is closed after this operation, watchdog_release() is called and status bits checked for stopping it. Besides,

Re: [PATCH v2] watchdog: core: don't try to stop device if not running

2013-04-08 Thread Hector Palacios
On 04/08/2013 03:41 PM, Guenter Roeck wrote: On Mon, Apr 08, 2013 at 11:10:58AM +0200, Hector Palacios wrote: A watchdog device may be stopped from userspace using WDIOC_SETOPTIONS ioctl and flag WDIOS_DISABLECARD. If the device is closed after this operation, watchdog_release() is called and