Skip to content

net: phy: remove phy_error from phy_disable_interrupts

Heiner Kallweit netdev 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- splitted into two separate patches

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: phy: remove phy_error from phy_disable_interruptsdrivers/net/phy/phy.c+2 -111 reply
2/2net: phy: use phy_disable_interrupts in phy_stopdrivers/net/phy/phy.c+2 -71 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchAndrew Lunn
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 net-next 0/2] net: phy: remove phy_error from phy_disable_interrupts

All callers of phy_disable_interrupts() call phy_error() in the error case. Therefore we don't need to do this within the function too. This change also allows us to use phy_disable_interrupts() in code holding phydev->lock (because phy_error() takes this lock). Make use of this in phy_stop().

v2:
- splitted into two separate patches

Heiner Kallweit (2):
net: phy: remove phy_error from phy_disable_interrupts
net: phy: use phy_disable_interrupts in phy_stop

 drivers/net/phy/phy.c | 22 ++++------------------
 1 file changed, 4 insertions(+), 18 deletions(-)
Signature · 1 line
2.16.2