All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 net-next 0/8] net: phy: fix some coding-style issues
@ 2021-06-16 10:01 Weihang Li
  2021-06-16 10:01 ` [PATCH v2 net-next 1/8] net: phy: change format of some declarations Weihang Li
                   ` (8 more replies)
  0 siblings, 9 replies; 18+ messages in thread
From: Weihang Li @ 2021-06-16 10:01 UTC (permalink / raw)
  To: davem, kuba, andrew, hkallweit1; +Cc: netdev, linuxarm, Weihang Li

Make some cleanups according to the coding style of kernel.

Changes since v1:
- Update commit description of #1 and #3.
- Avoid changing the indentation in #2.
- Change a group of if-else statement into switch from #4 and put it into
  a single patch.
- Put '|' at the end of line in #5 and #7.
- Avoid deleting spaces in definition of 'settings' in #5.
- Drop #8 from the series which needs more discussion with David.

Weihang Li (1):
  net: phy: replace if-else statements with switch

Wenpeng Liang (7):
  net: phy: change format of some declarations
  net: phy: correct format of block comments
  net: phy: delete repeated words of comments
  net: phy: fix space alignment issues
  net: phy: fix formatting issues with braces
  net: phy: print the function name by __func__ instead of an fixed
    string
  net: phy: remove unnecessary line continuation

 drivers/net/phy/bcm87xx.c     |  4 ++--
 drivers/net/phy/davicom.c     |  6 +++---
 drivers/net/phy/dp83640.c     |  5 +++--
 drivers/net/phy/et1011c.c     | 15 ++++++++-------
 drivers/net/phy/fixed_phy.c   |  4 ++--
 drivers/net/phy/lxt.c         |  4 ++--
 drivers/net/phy/marvell.c     | 13 +++++++++----
 drivers/net/phy/mdio_bus.c    |  1 +
 drivers/net/phy/mdio_device.c |  4 ++--
 drivers/net/phy/national.c    |  6 ++++--
 drivers/net/phy/phy-c45.c     |  2 +-
 drivers/net/phy/phy-core.c    |  3 ++-
 drivers/net/phy/phy.c         |  3 +--
 drivers/net/phy/phy_device.c  |  9 ++++-----
 drivers/net/phy/phylink.c     | 14 ++++++++------
 drivers/net/phy/qsemi.c       |  1 +
 drivers/net/phy/sfp-bus.c     | 28 ++++++++++++++--------------
 drivers/net/phy/sfp.c         |  2 +-
 drivers/net/phy/spi_ks8995.c  | 10 +++++-----
 drivers/net/phy/ste10Xp.c     |  6 +++---
 drivers/net/phy/vitesse.c     |  3 ++-
 21 files changed, 78 insertions(+), 65 deletions(-)

-- 
2.8.1


^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2021-06-16 19:40 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-16 10:01 [PATCH v2 net-next 0/8] net: phy: fix some coding-style issues Weihang Li
2021-06-16 10:01 ` [PATCH v2 net-next 1/8] net: phy: change format of some declarations Weihang Li
2021-06-16 15:55   ` Andrew Lunn
2021-06-16 10:01 ` [PATCH v2 net-next 2/8] net: phy: correct format of block comments Weihang Li
2021-06-16 15:56   ` Andrew Lunn
2021-06-16 10:01 ` [PATCH v2 net-next 3/8] net: phy: delete repeated words of comments Weihang Li
2021-06-16 15:56   ` Andrew Lunn
2021-06-16 10:01 ` [PATCH v2 net-next 4/8] net: phy: fix space alignment issues Weihang Li
2021-06-16 16:07   ` Andrew Lunn
2021-06-16 10:01 ` [PATCH v2 net-next 5/8] net: phy: fix formatting issues with braces Weihang Li
2021-06-16 16:08   ` Andrew Lunn
2021-06-16 10:01 ` [PATCH v2 net-next 6/8] net: phy: print the function name by __func__ instead of an fixed string Weihang Li
2021-06-16 16:08   ` Andrew Lunn
2021-06-16 10:01 ` [PATCH v2 net-next 7/8] net: phy: remove unnecessary line continuation Weihang Li
2021-06-16 16:09   ` Andrew Lunn
2021-06-16 10:01 ` [PATCH v2 net-next 8/8] net: phy: replace if-else statements with switch Weihang Li
2021-06-16 16:09   ` Andrew Lunn
2021-06-16 19:40 ` [PATCH v2 net-next 0/8] net: phy: fix some coding-style issues patchwork-bot+netdevbpf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.