]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit702fcc6671bf5d5de56cd4d12fa11384abdf3e95
treede2613acb1d059fcc69e30dcdcebd49598059b9c
parente7b7ad91721cfa0dd562fd2f569d205b6ef851a7
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