]> git.baikalelectronics.ru Git - kernel.git/commit
s390/qeth: handle error from qeth_update_from_chp_desc()
authorJulian Wiedmann <jwi@linux.ibm.com>
Wed, 17 Apr 2019 16:17:29 +0000 (18:17 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Apr 2019 17:33:59 +0000 (10:33 -0700)
commitb4949814bf3df170e590157db65bab228e5bb367
treeb97e06d4342192fea8b5c105fd9caffb6ddfa9e4
parent078dad3a4e5036b1da551cbf924c035ce5e8b1e1
s390/qeth: handle error from qeth_update_from_chp_desc()

Subsequent code relies on the values that qeth_update_from_chp_desc()
reads from the CHP descriptor. Rather than dealing with weird errors
later on, just handle it properly here.

Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_core_main.c