public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] phy: core: Fix bugs for several APIs and simplify an API
@ 2024-10-24 14:39 Zijun Hu
  2024-10-24 14:39 ` [PATCH v2 1/6] phy: core: Fix that API devm_phy_put() fails to release the phy Zijun Hu
                   ` (5 more replies)
  0 siblings, 6 replies; 18+ messages in thread
From: Zijun Hu @ 2024-10-24 14:39 UTC (permalink / raw)
  To: Vinod Koul, Kishon Vijay Abraham I, Felipe Balbi,
	Greg Kroah-Hartman, Rob Herring, Arnd Bergmann, Lee Jones
  Cc: Lorenzo Pieralisi, Krzysztof Wilczyński, Bjorn Helgaas,
	David S. Miller, Eric Dumazet, Jakub Kicinski, Paolo Abeni,
	Christophe JAILLET, Zijun Hu, stable, linux-phy, linux-kernel,
	Zijun Hu

This patch series is to fix bugs for below APIs:

devm_phy_put()
devm_of_phy_provider_unregister()
devm_phy_destroy()
phy_get()
of_phy_get()
devm_phy_get()
devm_of_phy_get()
devm_of_phy_get_by_index()

And simplify below API:

of_phy_simple_xlate().

Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com>
---
Changes in v2:
- Correct title, commit message, and inline comments.
- Link to v1: https://lore.kernel.org/r/20241020-phy_core_fix-v1-0-078062f7da71@quicinc.com

---
Zijun Hu (6):
      phy: core: Fix that API devm_phy_put() fails to release the phy
      phy: core: Fix that API devm_of_phy_provider_unregister() fails to unregister the phy provider
      phy: core: Fix that API devm_phy_destroy() fails to destroy the phy
      phy: core: Fix an OF node refcount leakage in _of_phy_get()
      phy: core: Fix an OF node refcount leakage in of_phy_provider_lookup()
      phy: core: Simplify API of_phy_simple_xlate() implementation

 drivers/phy/phy-core.c | 39 +++++++++++++++++++--------------------
 1 file changed, 19 insertions(+), 20 deletions(-)
---
base-commit: e70d2677ef4088d59158739d72b67ac36d1b132b
change-id: 20241020-phy_core_fix-e3ad65db98f7

Best regards,
-- 
Zijun Hu <quic_zijuhu@quicinc.com>


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2024-10-29 16:20 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-24 14:39 [PATCH v2 0/6] phy: core: Fix bugs for several APIs and simplify an API Zijun Hu
2024-10-24 14:39 ` [PATCH v2 1/6] phy: core: Fix that API devm_phy_put() fails to release the phy Zijun Hu
2024-10-29 13:40   ` Johan Hovold
2024-10-29 15:22     ` Zijun Hu
2024-10-24 14:39 ` [PATCH v2 2/6] phy: core: Fix that API devm_of_phy_provider_unregister() fails to unregister the phy provider Zijun Hu
2024-10-29 13:43   ` Johan Hovold
2024-10-29 15:35     ` Zijun Hu
2024-10-29 16:20       ` Johan Hovold
2024-10-24 14:39 ` [PATCH v2 3/6] phy: core: Fix that API devm_phy_destroy() fails to destroy the phy Zijun Hu
2024-10-29 13:45   ` Johan Hovold
2024-10-29 15:38     ` Zijun Hu
2024-10-24 14:39 ` [PATCH v2 4/6] phy: core: Fix an OF node refcount leakage in _of_phy_get() Zijun Hu
2024-10-29 13:47   ` Johan Hovold
2024-10-29 15:41     ` Zijun Hu
2024-10-24 14:39 ` [PATCH v2 5/6] phy: core: Fix an OF node refcount leakage in of_phy_provider_lookup() Zijun Hu
2024-10-29 13:48   ` Johan Hovold
2024-10-24 14:39 ` [PATCH v2 6/6] phy: core: Simplify API of_phy_simple_xlate() implementation Zijun Hu
2024-10-24 14:42   ` kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox