Re: [PATCH v2] perf/dwc_pcie: Fix PCI device reference leak in probe

Markus Elfring <[email protected]>
Newsgroups org.kernel.vger.linux-kernel,org.infradead.lists.linux-arm-kernel,org.kernel.vger.kernel-janitors,org.kernel.vger.linux-perf-users
Message-ID <[email protected]>
> This issue was found by a static analysis checker and confirmed by manual
> source review.

Can such a source code analysis approach point any related development concerns out
also according to a pci_dev_put(pdev) call in the “middle” of the discussed control flow?
https://elixir.bootlin.com/linux/v7.2/source/drivers/perf/dwc_pcie_pmu.c#L695-L770

Regards,
Markus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.