watchdog: core: propagate ping error code to the user space
authorAlexander Usyskin <alexander.usyskin@intel.com>
Mon, 26 Oct 2015 12:07:58 +0000 (14:07 +0200)
committerWim Van Sebroeck <wim@iguana.be>
Tue, 3 Nov 2015 13:36:14 +0000 (14:36 +0100)
commit5ef796639c2cacaebc07cf7e63bd20d64f7b3cb0
treef67a860621ae9c2aad11edfad02d70930f692404
parentbc794ac3b5836ee2b2420b0597f33538ad100be0
watchdog: core: propagate ping error code to the user space

Watchdog ping return errors are ignored by watchdog core,
Whatchdog daemon should be informed about possible hardware error or
underlaying device driver get unregistered.

Signed-off-by: Alexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
drivers/watchdog/watchdog_dev.c