ibmvnic: Disable irqs before exiting reset from closed state
authorJohn Allen <jallen@linux.vnet.ibm.com>
Fri, 30 Mar 2018 18:44:21 +0000 (13:44 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 2 Apr 2018 00:53:50 +0000 (20:53 -0400)
commit6095e590d277ecec54805c4999335406f08855fe
tree26e0e76ab981bfd608244d1cb63dee7d28786656
parentda01ec4ee5e69933641e6017d6461d0ce9dbfac6
ibmvnic: Disable irqs before exiting reset from closed state

When the driver is closed, all the associated irqs are disabled. In the
event that the driver exits a reset in the closed state, we should be
consistent with the state we are in directly after a close. So before we
exit the reset routine, all irqs should be disabled as well. This will
prevent the irqs from being enabled twice in this case and reporting a
number of noisy warning traces.

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