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)
commit7005b7547680963ad127c5069c6be082272105bc
treea0db2e7c204ee040d07cf61ee39a0a4b270a75d1
parent6ee091efa7b59829448d0f9287ea62c1f448a318
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