From: Markus Elfring <Markus.Elfring@web.de>
To: Ruoyu Wang <ruoyuw560@gmail.com>,
linux-perf-users@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
Jing Zhang <renyu.zj@linux.alibaba.com>,
Mark Rutland <mark.rutland@arm.com>,
Shuai Xue <xueshuai@linux.alibaba.com>,
Will Deacon <will@kernel.org>,
Yunhui Cui <cuiyunhui@bytedance.com>
Cc: LKML <linux-kernel@vger.kernel.org>, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH] perf/dwc_pcie: Fix PCI device reference leak in probe
Date: Sun, 16 Aug 2026 10:26:39 +0200 [thread overview]
Message-ID: <0abb2aab-4752-478d-bb53-c5a84fd6ba2d@web.de> (raw)
In-Reply-To: <20260814133925.1385687-1-ruoyuw560@gmail.com>
…
> Move the existing pci_dev_put() immediately after capability discovery
> so the temporary lookup reference is released on both success and
> failure paths.
…
How do you think about to apply the attribute “__free(pci_dev_put)”?
https://elixir.bootlin.com/linux/v7.2-rc7/source/include/linux/pci.h#L1269
Regards,
Markus
prev parent reply other threads:[~2026-08-16 8:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-14 13:39 [PATCH] perf/dwc_pcie: Fix PCI device reference leak in probe Ruoyu Wang
2026-08-16 1:42 ` Shuai Xue
2026-08-16 8:26 ` Markus Elfring [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=0abb2aab-4752-478d-bb53-c5a84fd6ba2d@web.de \
--to=markus.elfring@web.de \
--cc=cuiyunhui@bytedance.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mark.rutland@arm.com \
--cc=renyu.zj@linux.alibaba.com \
--cc=ruoyuw560@gmail.com \
--cc=will@kernel.org \
--cc=xueshuai@linux.alibaba.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox