Skip to content

net: lan743x: cleanup netdev-based logging

David Thompson lkml netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesIn review

Changes in v2 from the cover letter

- Added patch 1
- Changed target repo from "net" to "net-next"

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2net: lan743x: add "message level" module parameterdrivers/net/ethernet/microchip/lan743x_main.c+12 -32 replies
2/2net: lan743x: avoid netdev-based logging before netdev registrationdrivers/net/ethernet/microchip/lan743x_main.c+45 -272 replies

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 0/2] net: lan743x: cleanup netdev-based logging

This series improves netdev-based logging in the lan743x driver by addressing the issue where several log entries at boot include the warning "(unnamed net_device) (uninitialized)".

The first patch introduces a "message level" module parameter and uses netif_msg_init(), allowing msg_enable to be configured at load time.

The second patch ensures that netdev-based logging is only used after netdev registration has completed successfully.

v2:
- Added patch 1
- Changed target repo from "net" to "net-next"

David Thompson (2):
net: lan743x: add "message level" module parameter
net: lan743x: avoid netdev-based logging before netdev registration

 drivers/net/ethernet/microchip/lan743x_main.c | 87 ++++++++++++-------
 1 file changed, 57 insertions(+), 30 deletions(-)
Signature · 1 line
2.43.0