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

From: Sean Anderson
Date: Fri Sep 23 2022 - 21:53:50 EST


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/4686583.GXAFRqVoOG@xxxxxxxxxxxxx/

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(-)

--
2.37.1