Skip to content

net: sunhme: Cleanups and logging improvements

Sean Anderson lkml netdev 2 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (master)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest13 patches 2 repliesApplied 13/13
  2. v113 patches 7 repliesSuperseded

Changes in v2 from the cover letter

- Remove space after pci_enable_device
- Use memset to clear p->happy_meals
- Set err inside error branches
- sumhme -> sunhme
- Remove repeated newline
- Remove another excess debug

Patches in v2 All 13 applied

#Subject and filesSizeRepliesApplied
1/13sunhme: remove unused tx_dump_ring()drivers/net/ethernet/sun/sunhme.c+0 -160 repliesApplied
2/13sunhme: Remove versiondrivers/net/ethernet/sun/sunhme.c+2 -150 repliesApplied
3/13sunhme: forward the error code from pci_enable_device()drivers/net/ethernet/sun/sunhme.c+3 -30 repliesApplied
4/13sunhme: Return an ERR_PTR from quattro_pci_finddrivers/net/ethernet/sun/sunhme.c+27 -220 repliesApplied
5/13sunhme: Regularize probe errorsdrivers/net/ethernet/sun/sunhme.c+13 -80 repliesApplied
6/13sunhme: switch to devresdrivers/net/ethernet/sun/sunhme.c+14 -410 repliesApplied
7/13sunhme: Convert FOO((...)) to FOO(...)drivers/net/ethernet/sun/sunhme.c+136 -1362 repliesApplied
8/13sunhme: Clean up debug infrastructuredrivers/net/ethernet/sun/sunhme.c+32 -400 repliesApplied
9/13sunhme: Convert printk(KERN_FOO ...) to pr_foo(...)drivers/net/ethernet/sun/sunhme.c+78 -740 repliesApplied
10/13sunhme: Use (net)dev_foo wherever possibledrivers/net/ethernet/sun/sunhme.c+85 -890 repliesApplied
11/13sunhme: Combine continued messagesdrivers/net/ethernet/sun/sunhme.c+105 -1730 repliesApplied
12/13sunhme: Use vdbg for spam-y printsdrivers/net/ethernet/sun/sunhme.c+4 -250 repliesApplied
13/13sunhme: Add myself as a maintainerMAINTAINERS+5 -00 repliesApplied

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH net-next v2 00/13] net: sunhme: Cleanups and logging improvements

This series is a continuation of [1] with a focus on logging improvements (in the style of commit b11e5f6a3a5c ("net: sunhme: output link status with a single print.")). I have included several of Rolf's patches in the series where appropriate (with slight modifications). After this series is applied, many more messages from this driver will come with driver/device information. Additionally, most messages (especially debug messages) have been condensed onto one line (as KERN_CONT messages get split).

[1] https://lore.kernel.org/netdev/[email protected]/

Changes in v2:
- Remove space after pci_enable_device
- Use memset to clear p->happy_meals
- Set err inside error branches
- sumhme -> sunhme
- Remove repeated newline
- Remove another excess debug

Rolf Eike Beer (3):
sunhme: remove unused tx_dump_ring()
sunhme: forward the error code from pci_enable_device()
sunhme: switch to devres

Sean Anderson (10):
sunhme: Remove version
sunhme: Return an ERR_PTR from quattro_pci_find
sunhme: Regularize probe errors
sunhme: Convert FOO((...)) to FOO(...)
sunhme: Clean up debug infrastructure
sunhme: Convert printk(KERN_FOO ...) to pr_foo(...)
sunhme: Use (net)dev_foo wherever possible
sunhme: Combine continued messages
sunhme: Use vdbg for spam-y prints
sunhme: Add myself as a maintainer

 MAINTAINERS                       |   5 +
 drivers/net/ethernet/sun/sunhme.c | 661 ++++++++++++------------------
 2 files changed, 264 insertions(+), 402 deletions(-)
Signature · 1 line
2.37.1