Skip to content

bonding: convert pr_* to netdev_*

Veaceslav Falico netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest12 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12bonding: convert bond_main.c to use netdev_printk instead of pr_drivers/net/bonding/bond_main.c+162 -1800 replies
2/12bonding: remove pr_fmt from bond_main.cdrivers/net/bonding/bond_main.c+0 -20 replies
3/12bonding: convert bond_3ad.c to use netdev_printk instead of pr_drivers/net/bonding/bond_3ad.c+88 -950 replies
4/12bonding: remove pr_fmt from bond_3ad.cdrivers/net/bonding/bond_3ad.c+0 -20 replies
5/12bonding: convert bond_alb.c to use netdev_printk instead of pr_drivers/net/bonding/bond_alb.c+15 -190 replies
6/12bonding: remove pr_fmt from bond_alb.cdrivers/net/bonding/bond_alb.c+0 -20 replies
7/12bonding: convert bond_debugfs.c to use netdev_printk instead of pr_drivers/net/bonding/bond_debugfs.c+2 -40 replies
8/12bonding: convert bond_netlink.c to use netdev_printk instead of pr_drivers/net/bonding/bond_netlink.c+3 -60 replies
9/12bonding: bonding: remove pr_fmt from bond_netlink.cdrivers/net/bonding/bond_netlink.c+0 -20 replies
10/12bonding: convert bond_procfs.c to use netdev_printk instead of pr_drivers/net/bonding/bond_procfs.c+2 -20 replies
11/12bonding: convert bond_options.c to use netdev_printk instead of pr_drivers/net/bonding/bond_options.c+101 -1150 replies
12/12bonding: remove pr_fmt from bond_options.cdrivers/net/bonding/bond_options.c+0 -20 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH net-next 00/12] bonding: convert pr_* to netdev_*

Currently bonding uses pr_info/warn/etc. function to print something, while it's encouraged to use netdev_info/warn/etc. in net/.

This patchset converts them where possible (i.e. where we have a working net_device). Also, convert pr_ratelimit* to net_() and remove the pr_fmt, to unify netdev_* and pr_* outputs.

CC Jay Vosburgh <[email protected]>
CC Andy Gospodarek <[email protected]>
---
 drivers/net/bonding/bond_3ad.c     | 185 ++++++++++++++--------------
 drivers/net/bonding/bond_alb.c     |  36 +++---
 drivers/net/bonding/bond_debugfs.c |   6 +-
 drivers/net/bonding/bond_main.c    | 344 +++++++++++++++++++++++++----------------------------
 drivers/net/bonding/bond_netlink.c |  11 +-
 drivers/net/bonding/bond_options.c | 218 ++++++++++++++++-----------------
 drivers/net/bonding/bond_procfs.c  |   4 +-
 7 files changed, 373 insertions(+), 431 deletions(-)