]> git.itanic.dy.fi Git - linux-stable/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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 21 Sep 2019 05:18:46 +0000 (07:18 +0200)
commit0275857577e5e2e482383d3674765d2f51cc610d
treeae4c494929334cf4ab921cc5e3f1261abe762bdd
parentd18638671b96904a41c6307ff27ec57d2e83d749
enetc: Add missing call to 'pci_free_irq_vectors()' in probe and remove functions

[ Upstream commit dd7078f05e1b774a9e8c9f117101d97e4ccd0691 ]

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: 19971f5ea0ab ("enetc: add PTP clock driver")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/ethernet/freescale/enetc/enetc_ptp.c