diff options
author | Igor Pylypiv <igor.pylypiv@gmail.com> | 2018-02-28 00:59:12 -0800 |
---|---|---|
committer | Wim Van Sebroeck <wim@linux-watchdog.org> | 2018-03-03 15:52:32 +0100 |
commit | 7bd3e7b743956afbec30fb525bc3c5e22e3d475c (patch) | |
tree | 1b38e1f2d53c6551ec848486655dc4984434ed3e /kernel/umh.c | |
parent | a17f4f032b61abd998a1f81b206a4517e2e3db2f (diff) | |
download | linux-7bd3e7b743956afbec30fb525bc3c5e22e3d475c.tar.bz2 |
watchdog: f71808e_wdt: Fix magic close handling
Watchdog close is "expected" when any byte is 'V' not just the last one.
Writing "V" to the device fails because the last byte is the end of string.
$ echo V > /dev/watchdog
f71808e_wdt: Unexpected close, not stopping watchdog!
Signed-off-by: Igor Pylypiv <igor.pylypiv@gmail.com>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
Diffstat (limited to 'kernel/umh.c')
0 files changed, 0 insertions, 0 deletions