commit | 6a96a4413dcc85b09509f6fe87e74f9dd30cb2ce | [log] [tgz] |
---|---|---|
author | Pan Bian <bianpan2016@163.com> | Wed Jan 20 06:37:45 2021 -0800 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 04 11:38:11 2021 +0100 |
tree | 47eef451f99f76aea27365c00ce2ed0f56471c80 | |
parent | 58516ac4aac8890cfc8327f82bbaf3c00ae9cb89 [diff] |
PCI: xilinx-cpm: Fix reference count leak on error path [ Upstream commit ae191d2e513ae5274224777ae67018a584074a28 ] Also drop the reference count of the node on error path. Link: https://lore.kernel.org/r/20210120143745.699-1-bianpan2016@163.com Fixes: 508f610648b9 ("PCI: xilinx-cpm: Add Versal CPM Root Port driver") Signed-off-by: Pan Bian <bianpan2016@163.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Signed-off-by: Sasha Levin <sashal@kernel.org>