mbox series

[net-next,0/2] Add mdiobus_modify_changed() helper

Message ID YV2UIa2eU+UjmWaE@shell.armlinux.org.uk (mailing list archive)
Headers show
Series Add mdiobus_modify_changed() helper | expand

Message

Russell King (Oracle) Oct. 6, 2021, 12:18 p.m. UTC
Hi,

Sean Anderson's recent patch series is introducing more read-write
operations on the MDIO bus that only need to happen if a change is
being made.

We have similar logic in __mdiobus_modify_changed(), but we didn't
add its correponding locked variant mdiobus_modify_changed() as we
had very few users. Now that we are getting more, let's add the
helper.

v2: fix build warnings in patch2, add Andrew's RB to patch 1

 drivers/net/phy/mdio_bus.c | 22 ++++++++++++++++++++++
 drivers/net/phy/phylink.c  | 29 ++++-------------------------
 include/linux/mdio.h       |  2 ++
 3 files changed, 28 insertions(+), 25 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Oct. 7, 2021, 1:10 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Wed, 6 Oct 2021 13:18:41 +0100 you wrote:
> Hi,
> 
> Sean Anderson's recent patch series is introducing more read-write
> operations on the MDIO bus that only need to happen if a change is
> being made.
> 
> We have similar logic in __mdiobus_modify_changed(), but we didn't
> add its correponding locked variant mdiobus_modify_changed() as we
> had very few users. Now that we are getting more, let's add the
> helper.
> 
> [...]

Here is the summary with links:
  - [v2,net-next,1/2] net: mdio: add mdiobus_modify_changed()
    applied by Jakub Kicinski <kuba@kernel.org>
    https://git.kernel.org/netdev/net-next/c/79365f36d1de
  - [v2,net-next,2/2] net: phylink: use mdiobus_modify_changed() helper
    applied by Jakub Kicinski <kuba@kernel.org>
    https://git.kernel.org/netdev/net-next/c/078e0b5363db

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html