]> git.baikalelectronics.ru Git - kernel.git/commit
enetc: Add missing call to 'pci_free_irq_vectors()' in probe and remove functions
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Fri, 30 Aug 2019 20:23:12 +0000 (22:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 1 Sep 2019 06:53:17 +0000 (23:53 -0700)
commit9b940b2b4e0b1370f6341782d90f1838802e9240
treed57d4f700f1a3119674455536beffc11dcf5076c
parent6ee8a548c4f6e8b6be3ff14117b81ae073ec0ad5
enetc: Add missing call to 'pci_free_irq_vectors()' in probe and remove functions

Call to 'pci_free_irq_vectors()' are missing both in the error handling
path of the probe function, and in the remove function.
Add them.

Fixes: 1cb581250339 ("enetc: add PTP clock driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/freescale/enetc/enetc_ptp.c