aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorIgor Pylypiv <[email protected]>2018-02-28 08:59:12 +0000
committerWim Van Sebroeck <[email protected]>2018-03-03 14:52:32 +0000
commit7bd3e7b743956afbec30fb525bc3c5e22e3d475c (patch)
tree1b38e1f2d53c6551ec848486655dc4984434ed3e /lib/string_helpers.c
parentwatchdog: sp5100_tco.c: fix potential build failure (diff)
downloadkernel-7bd3e7b743956afbec30fb525bc3c5e22e3d475c.tar.gz
kernel-7bd3e7b743956afbec30fb525bc3c5e22e3d475c.zip
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 <[email protected]> Reviewed-by: Guenter Roeck <[email protected]> Signed-off-by: Guenter Roeck <[email protected]> Signed-off-by: Wim Van Sebroeck <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions