]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: return error when starting a reset fails
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 6 May 2020 08:09:48 +0000 (10:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 May 2020 21:11:26 +0000 (14:11 -0700)
commita6e562bc30af5d7bf38a2cb20c7a7f99065fa462
treea0db2e7c204ee040d07cf61ee39a0a4b270a75d1
parentef809cecb4bcc9a87a87cc83e7a9c4e5a7398f5c
s390/qeth: return error when starting a reset fails

When starting the reset worker via sysfs is unsuccessful, return an
error to the user.
Modernize the sysfs input parsing while at it.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Reviewed-by: Alexandra Winter <wintera@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core.h
drivers/s390/net/qeth_core_main.c
drivers/s390/net/qeth_core_sys.c