All of lore.kernel.org
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Arun Iyengar" <aiyengar1990@gmail.com>
Cc: linux-sunxi@lists.linux.dev
Subject: Re: [PATCH net-next v5 3/6] net: stmmac: Balance runtime PM when the probe fails
Date: Sun, 29 Nov 2026 17:38:15 +0000	[thread overview]
Message-ID: <sashiko-outbox-239839@kernel.org> (raw)
In-Reply-To: <20261128-sun8i-emac-mux-uaf-v5-3-0869f2ccdb8b@gmail.com>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] net: stmmac: missing Fixes trailer for probe runtime PM leak
--

commit 9963a18d007b0ecf56b480bb2ae8fd9c97719c3f
Author: Arun Iyengar <aiyengar1990@gmail.com>

> net: stmmac: Balance runtime PM when the probe fails
>
> __stmmac_dvr_probe() takes a usage count and, unless the bus already
> did, enables runtime PM before it registers the MDIO bus, but its error
> path undoes neither. After a failed or deferred probe the device never
> runtime-suspends.
>
> Drop the usage count, and disable runtime PM if the probe enabled it.
>
> Signed-off-by: Arun Iyengar <aiyengar1990@gmail.com>

[Severity: Low]
This fixes the probe runtime PM leak introduced in 5ec55823438e ("net:
stmmac: add clocks management for gmac driver").  Should it carry a Fixes:
tag:

  Fixes: 5ec55823438e ("net: stmmac: add clocks management for gmac driver")

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261128-sun8i-emac-mux-uaf-v5-0-0869f2ccdb8b@gmail.com?part=3

  reply	other threads:[~2026-11-29 17:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-28 17:36 [PATCH net-next v5 0/6] net: stmmac: dwmac-sun8i: Fix the EPHY and MDIO mux ordering Arun Iyengar via B4 Relay
2026-11-28 17:36 ` Arun Iyengar
2026-11-28 17:37 ` [PATCH net-next v5 1/6] net: stmmac: dwmac-sun8i: Put the EPHY clock and reset after the MAC Arun Iyengar via B4 Relay
2026-11-28 17:37   ` Arun Iyengar
2026-11-28 17:37 ` [PATCH net-next v5 2/6] net: stmmac: dwmac-sun8i: Get the EPHY clock and reset before the MAC probe Arun Iyengar via B4 Relay
2026-11-28 17:37   ` Arun Iyengar
2026-11-28 17:37 ` [PATCH net-next v5 3/6] net: stmmac: Balance runtime PM when the probe fails Arun Iyengar via B4 Relay
2026-11-28 17:37   ` Arun Iyengar
2026-11-29 17:38   ` sashiko-bot [this message]
2026-11-28 17:37 ` [PATCH net-next v5 4/6] net: stmmac: Assert the resets after unregistering the MDIO bus Arun Iyengar via B4 Relay
2026-11-28 17:37   ` Arun Iyengar
2026-11-28 17:37 ` [PATCH net-next v5 5/6] net: stmmac: Add MDIO init and exit platform hooks Arun Iyengar via B4 Relay
2026-11-28 17:37   ` Arun Iyengar
2026-11-28 17:37 ` [PATCH net-next v5 6/6] net: stmmac: dwmac-sun8i: Register the MDIO mux in the MDIO setup Arun Iyengar via B4 Relay
2026-11-28 17:37   ` Arun Iyengar

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-239839@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=aiyengar1990@gmail.com \
    --cc=linux-sunxi@lists.linux.dev \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.