]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Check CRQ command return codes
authorThomas Falcon <tlfalcon@linux.vnet.ibm.com>
Wed, 23 May 2018 18:37:57 +0000 (13:37 -0500)
committerDavid S. Miller <davem@davemloft.net>
Fri, 25 May 2018 02:19:26 +0000 (22:19 -0400)
commitbdc27194566b32aaed6d933eaaf1c79d7f56c04b
tree3e1f40b1b85ba178ef8be05e5f89f30a70e5bb8a
parent0298e1bd0bf72dea59766f43edf9a6ebef284c29
ibmvnic: Check CRQ command return codes

Check whether CRQ command is successful before awaiting a response
from the management partition. If the command was not successful, the
driver may hang waiting for a response that will never come.

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