]> git.baikalelectronics.ru Git - kernel.git/commit
ibmvnic: Fix IRQ mapping disposal in error path
authorThomas Falcon <tlfalcon@linux.ibm.com>
Wed, 29 Jul 2020 21:36:32 +0000 (16:36 -0500)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jul 2020 22:35:55 +0000 (15:35 -0700)
commit48057bcc7a758139ee97ccc7755426c1d701df58
treef50140e1c475709d4ec6af5767548408b8fd4104
parent6997d7f0b5dd50321c8cb33de5e18a84f215f831
ibmvnic: Fix IRQ mapping disposal in error path

RX queue IRQ mappings are disposed in both the TX IRQ and RX IRQ
error paths. Fix this and dispose of TX IRQ mappings correctly in
case of an error.

Fixes: 37d7c6912bc5 ("ibmvnic: simplify and improve driver probe function")
Signed-off-by: Thomas Falcon <tlfalcon@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ibm/ibmvnic.c