ibmvnic: Include missing return code checks in reset function
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Thu, 30 Aug 2018 18:19:53 +0000 (13:19 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 1 Sep 2018 06:15:50 +0000 (23:15 -0700)
commitf611a5b4a51fa36a0aa792be474f5d6aacaef7e3
treede2613acb1d059fcc69e30dcdcebd49598059b9c
parentc81c7012e0c769b5704c2b07bd5224965e76fb70
ibmvnic: Include missing return code checks in reset function

Check the return codes of these functions and halt reset
in case of failure. The driver will remain in a dormant state
until the next reset event, when device initialization will be
re-attempted.

Signed-off-by: Thomas Falcon <tlfalcon@linux.vnet.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c