commit | ae191d2e513ae5274224777ae67018a584074a28 | [log] [tgz] |
---|---|---|
author | Pan Bian <bianpan2016@163.com> | Wed Jan 20 06:37:45 2021 -0800 |
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | Mon Jan 25 17:27:41 2021 +0000 |
tree | 35602f7ad8d9b7b6397d1bc514cc0de6c16465fd | |
parent | 7c53f6b671f4aba70ff15e1b05148b10d58c2837 [diff] |
PCI: xilinx-cpm: Fix reference count leak on error path 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>