mbox series

[-next,0/7] net: Simplified with scoped function

Message ID 20240827075219.3793198-1-ruanjinjie@huawei.com (mailing list archive)
Headers show
Series net: Simplified with scoped function | expand

Message

Jinjie Ruan Aug. 27, 2024, 7:52 a.m. UTC
Simplify with scoped for each OF child loop and __free().

Jinjie Ruan (7):
  net: stmmac: dwmac-sun8i: Use for_each_child_of_node_scoped() and
    __free()
  net: dsa: realtek: Use for_each_child_of_node_scoped() and __free()
  net: phy: Fix missing of_node_put() for leds
  net: mdio: mux-mmioreg: Simplified with scoped function and
    dev_err_probe()
  net: mv643xx_eth: Simplify with scoped for each OF child loop
  net: dsa: microchip: Use scoped function and __free() to simplfy code
  net: bcmasp: Simplify with scoped for each OF child loop

 drivers/net/dsa/microchip/ksz_common.c        | 12 ++---
 drivers/net/dsa/realtek/rtl8366rb.c           | 11 ++--
 drivers/net/ethernet/broadcom/asp2/bcmasp.c   | 18 +++----
 drivers/net/ethernet/marvell/mv643xx_eth.c    |  5 +-
 .../net/ethernet/stmicro/stmmac/dwmac-sun8i.c | 20 +++-----
 drivers/net/mdio/mdio-mux-mmioreg.c           | 51 ++++++++-----------
 drivers/net/phy/phy_device.c                  |  6 +--
 7 files changed, 46 insertions(+), 77 deletions(-)

Comments

Andrew Lunn Aug. 27, 2024, 12:44 p.m. UTC | #1
On Tue, Aug 27, 2024 at 03:52:12PM +0800, Jinjie Ruan wrote:
> Simplify with scoped for each OF child loop and __free().

The Subject: should be [PATCH net-next], not -next. The CI looks at
this to decide which tree it belongs to. It issues a warning because
what you used does not match anything.

	Andrew
Jinjie Ruan Aug. 28, 2024, 1:59 a.m. UTC | #2
On 2024/8/27 20:44, Andrew Lunn wrote:
> On Tue, Aug 27, 2024 at 03:52:12PM +0800, Jinjie Ruan wrote:
>> Simplify with scoped for each OF child loop and __free().
> 
> The Subject: should be [PATCH net-next], not -next. The CI looks at
> this to decide which tree it belongs to. It issues a warning because
> what you used does not match anything.

Thank you! I'll fix it.

> 
> 	Andrew