aboutsummaryrefslogtreecommitdiff
path: root/net/smc/smc_close.c
diff options
context:
space:
mode:
authorShuah Khan (Samsung OSG)2018-09-26 16:37:43 -0600
committerShuah Khan (Samsung OSG)2018-10-24 14:49:36 -0600
commitd89d08ffd2c5a9043c8df7333d9bee6c09904a8f (patch)
treefeb53a418af2e241931fbb18acf081c73f3c9c40 /net/smc/smc_close.c
parent7514c39cf1d9433203c9b7c6674dbfa429db804b (diff)
selftests: watchdog: Fix ioctl SET* error paths to take oneshot exit path
When ioctls for WDIOC_SETOPTIONS (WDIOS_DISABLECARD or WDIOS_ENABLECARD), WDIOC_SETTIMEOUT, and WDIOC_SETPRETIMEOUT fail, the error path continues to handler watchdog timer until user terminates it. When ioctl returns error, it might not be safe to let the watchdog tick. The error could be due an unsupported ioctl command or some other error. Fix it to handle error paths as oneshot to stop the watchdog ticks and exit right away. Signed-off-by: Shuah Khan (Samsung OSG) <shuah@kernel.org>
Diffstat (limited to 'net/smc/smc_close.c')
0 files changed, 0 insertions, 0 deletions