summaryrefslogtreecommitdiffstats
path: root/drivers/pci/hotplug
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2021-05-04 19:17:42 +0200
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2021-08-05 11:42:07 +0100
commiteff21f5da308265678e7e59821795e606f3e560f (patch)
tree7ad3b1b3850b51e56d806bf7c0fefd3f8f152c97 /drivers/pci/hotplug
parent6310a1526aa0b00b6d8a8205a753b5fcf2212eb2 (diff)
downloadlinux-stable-eff21f5da308265678e7e59821795e606f3e560f.tar.gz
linux-stable-eff21f5da308265678e7e59821795e606f3e560f.tar.bz2
linux-stable-eff21f5da308265678e7e59821795e606f3e560f.zip
PCI: tegra: Fix OF node reference leak
Commit 9e38e690ace3 ("PCI: tegra: Fix OF node reference leak") has fixed some node reference leaks in this function but missed some of them. In fact, having 'port' referenced in the 'rp' structure is not enough to prevent the leak, until 'rp' is actually added in the 'pcie->ports' list. Add the missing 'goto err_node_put' accordingly. Link: https://lore.kernel.org/r/55b11e9a7fa2987fbc0869d68ae59888954d65e2.1620148539.git.christophe.jaillet@wanadoo.fr Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Vidya Sagar <vidyas@nvidia.com>
Diffstat (limited to 'drivers/pci/hotplug')
0 files changed, 0 insertions, 0 deletions