]> 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)
commiteb43487610fbc7666e4b5f5ec953b04e711c5cbd
treede2613acb1d059fcc69e30dcdcebd49598059b9c
parentcdc3e5a3f4200cba85d53063d424b6dadd0a2590
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