[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200630.155802.2190042564289803175.davem@davemloft.net>
Date: Tue, 30 Jun 2020 15:58:02 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: brgl@...ev.pl
Cc: jeffrey.t.kirsher@...el.com, kuba@...nel.org, john@...ozen.org,
sean.wang@...iatek.com, Mark-MC.Lee@...iatek.com,
matthias.bgg@...il.com, hkallweit1@...il.com, andrew@...n.ch,
f.fainelli@...il.com, linux@...linux.org.uk, robh+dt@...nel.org,
frowand.list@...il.com, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, devicetree@...r.kernel.org,
bgolaszewski@...libre.com
Subject: Re: [PATCH v2 00/10] net: improve devres helpers
From: Bartosz Golaszewski <brgl@...ev.pl>
Date: Mon, 29 Jun 2020 14:03:36 +0200
> From: Bartosz Golaszewski <bgolaszewski@...libre.com>
>
> So it seems like there's no support for relaxing certain networking devres
> helpers to not require previously allocated structures to also be managed.
> However the way mdio devres variants are implemented is still wrong and I
> modified my series to address it while keeping the functions strict.
>
> First two patches modify the ixgbe driver to get rid of the last user of
> devm_mdiobus_free().
>
> Patches 3, 4, 5 and 6 are mostly cosmetic.
>
> Patch 7 fixes the way devm_mdiobus_register() is implemented.
>
> Patches 8 & 9 provide a managed variant of of_mdiobus_register() and
> last patch uses it in mtk-star-emac driver.
>
> v1 -> v2:
> - drop the patch relaxing devm_register_netdev()
> - require struct mii_bus to be managed in devm_mdiobus_register() and
> devm_of_mdiobus_register() but don't store that information in the
> structure itself: use devres_find() instead
Series applied, thank you.
Powered by blists - more mailing lists