phy: core: Fix bugs for several APIs and simplify an API
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected] change-id 20241020-phy_core_fix-e3ad65db98f7Versions newest first
- v6 Latest6 patches 2 repliesApplied
- v56 patches 0 repliesSuperseded
- v46 patches 5 repliesSuperseded
Earlier versions · 3
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 | 6 patches | 0 replies | Superseded | |
| v2 | 6 patches | 10 replies | Superseded | |
| v1 | 6 patches | 3 replies | Superseded |
Changes in v6 from the cover letter
- Use non-error path solution for patch 6/6.
- Remove stable tag for both patch 2/6 and 3/6.
- Link to v5: https://lore.kernel.org/r/[email protected]
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | phy: core: Fix that API devm_phy_put() fails to release the phydrivers/ | +1 | 0 replies | |
| 2/6 | phy: core: Fix that API devm_of_phy_provider_unregister() fails to unregister the phy providerdrivers/ | +3 | 0 replies | |
| 3/6 | phy: core: Fix that API devm_phy_destroy() fails to destroy the phydrivers/ | +1 | 0 replies | |
| 4/6 | phy: core: Fix an OF node refcount leakage in _of_phy_get()drivers/ | +5 | 0 replies | |
| 5/6 | phy: core: Fix an OF node refcount leakage in of_phy_provider_lookup()drivers/ | +3 | 0 replies | |
| 6/6 | phy: core: Simplify API of_phy_simple_xlate() implementationdrivers/ | +8 | 0 replies |
Reviews trailers per patch
5 of 6 patches have a Reviewed-by or Acked-by.
| Patch | Johan Hovold |
|---|---|
| 1/6 | R-b |
| 2/6 | R-b |
| 3/6 | R-b |
| 4/6 | R-b |
| 5/6 | R-b |
| 6/6 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/6] phy: core: Fix bugs for several APIs and simplify an API
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().
---
Changes in v6:
- Use non-error path solution for patch 6/6.
- Remove stable tag for both patch 2/6 and 3/6.
- Link to v5: https://lore.kernel.org/r/[email protected]
Changes in v5:
- s/Fixed/Fix s/case/cause for commit message based on Johan's reminder
- Remove unrelated change about code style for patch 4/6 suggested by Johan
- Link to v4: https://lore.kernel.org/r/[email protected]
Changes in v4:
- Correct commit message for patch 6/6
- Link to v3: https://lore.kernel.org/r/[email protected]
Changes in v3:
- Correct commit message based on Johan's suggestions for patches 1/6-3/6.
- Use goto label solution suggested by Johan for patch 4/6, also correct commit message and remove the inline comment for it.
- Link to v2: https://lore.kernel.org/r/[email protected]
Changes in v2:
- Correct title, commit message, and inline comments.
- Link to v1: https://lore.kernel.org/r/[email protected]
---
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 | 44 +++++++++++++++++++++----------------------- 1 file changed, 21 insertions(+), 23 deletions(-)
---
base-commit: 9d23e48654620fdccfcc74cc2cef04eaf7353d07
change-id: 20241020-phy_core_fix-e3ad65db98f7
Best regards,
Signature · 1 line
Zijun Hu <[email protected]>