Skip to content

DSA: Fix checkpatch.pl output for DSA drivers

Barry Grussling netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 1 replyIn review
  2. v14 patches 5 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4DSA: Convert DSA comments to network-style commentsdrivers/net/dsa/mv88e6060.c drivers/net/dsa/mv88e6123_61_65.c drivers/net/dsa/mv88e6131.c +2 more+93 -2320 replies
2/4DSA: Convert repeated msleep calls to timeoutsdrivers/net/dsa/mv88e6060.c drivers/net/dsa/mv88e6123_61_65.c drivers/net/dsa/mv88e6131.c +1 more+34 -180 replies
3/4DSA: Convert printk calls to netdev_info callsdrivers/net/dsa/mv88e6060.c drivers/net/dsa/mv88e6xxx.c+12 -100 replies
4/4DSA: Convert spaces to tabs where appropriatedrivers/net/dsa/mv88e6xxx.c drivers/net/dsa/mv88e6xxx.h+23 -230 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH V2 0/4] DSA: Fix checkpatch.pl output for DSA drivers

This set of patches performs routine maintenance on the DSA drivers by removing all checkpatch.pl errors.

These patches do the following things:
* Switch to network-style comments
* Convert msleep calls to timeout/usleep_range calls
* Convert printk calls to netdev_info calls
* Fix whitespace issues

Changes from V1 of the patch include:
(Joe Perches Review)
* Change comment style to one-line for comments
that can be reduced to one-line
* Fix spelling of "Priority"
* Remove device name from netdev_info
* Coalesce netdev_info lines to one format line
(Ben Hutchings Review)
* Replace repeated usleep_range calls with
timeouts/usleep_range calls.

Thanks,

Barry

Barry Grussling (4):
DSA: Convert DSA comments to network-style comments
DSA: Convert repeated msleep calls to timeouts
DSA: Convert printk calls to netdev_info calls
DSA: Convert spaces to tabs where appropriate

 drivers/net/dsa/mv88e6060.c       |   54 ++++++--------
 drivers/net/dsa/mv88e6123_61_65.c |  125 +++++++++++---------------------
 drivers/net/dsa/mv88e6131.c       |  114 ++++++++++--------------------
 drivers/net/dsa/mv88e6xxx.c       |  141 +++++++++++++++----------------------
 drivers/net/dsa/mv88e6xxx.h       |   11 ++-
 5 files changed, 162 insertions(+), 283 deletions(-)
Signature · 1 line
1.7.9.5