From: sashiko-bot@kernel.org
To: "Yuwei Chen" <2522445001@qq.com>
Cc: linux-pci@vger.kernel.org
Subject: Re: [PATCH] PCI: mobiveil: fix device node leak in ls_g4_pcie_probe()
Date: Thu, 03 Dec 2026 03:58:57 +0000 [thread overview]
Message-ID: <sashiko-outbox-247132@kernel.org> (raw)
In-Reply-To: <tencent_ACBAB383CAF35D4851FC14E0EA5BB7649208@qq.com>
> ls_g4_pcie_probe() calls of_parse_phandle() on "msi-parent" and uses
> the result only as a NULL check. The node itself is discarded, so every
> successful lookup leaks the reference.
>
> Drop it after the check.
>
> Fixes: d29ad70a813b ("PCI: mobiveil: Add PCIe Gen4 RC driver for Layerscape SoCs")
> Cc: stable@vger.kernel.org
> Signed-off-by: Yuwei Chen <2522445001@qq.com>
Sashiko has reviewed this patch and found no issues.
--
Sashiko AI review · https://sashiko.dev/#/patchset/tencent_ACBAB383CAF35D4851FC14E0EA5BB7649208@qq.com?part=1
next prev parent reply other threads:[~2026-12-03 3:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 3:56 [PATCH] PCI: mobiveil: fix device node leak in ls_g4_pcie_probe() Yuwei Chen
2026-12-03 3:58 ` sashiko-bot [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-10-27 9:44 [PATCH] PCI: mobiveil: Fix device_node " Vishal Satle
2026-10-27 9:49 ` sashiko-bot
2026-11-05 14:14 ` Manivannan Sadhasivam
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=sashiko-outbox-247132@kernel.org \
--to=sashiko-bot@kernel.org \
--cc=2522445001@qq.com \
--cc=linux-pci@vger.kernel.org \
--cc=sashiko-reviews@lists.linux.dev \
/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