Skip to content
Commit ae191d2e authored by Pan Bian's avatar Pan Bian Committed by Lorenzo Pieralisi
Browse files

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: 508f6106

 ("PCI: xilinx-cpm: Add Versal CPM Root Port driver")
Signed-off-by: default avatarPan Bian <bianpan2016@163.com>
Signed-off-by: default avatarLorenzo Pieralisi <lorenzo.pieralisi@arm.com>
parent 7c53f6b6
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment