mbox series

[net-next,0/5] Add missing netlink error message macros to coccinelle test

Message ID 20250226093904.6632-1-gal@nvidia.com (mailing list archive)
Headers show
Series Add missing netlink error message macros to coccinelle test | expand

Message

Gal Pressman Feb. 26, 2025, 9:38 a.m. UTC
The newline_in_nl_msg.cocci test is missing some variants in the list of
checked macros, add them and fix all reported issues.

Thanks,
Gal

Gal Pressman (5):
  coccinelle: Add missing (GE)NL_SET_ERR_MSG_* to strings ending with
    newline test
  net/mlx5: Remove newline at the end of a netlink error message
  sfc: Remove newline at the end of a netlink error message
  net: sched: Remove newline at the end of a netlink error message
  ice: dpll: Remove newline at the end of a netlink error message

 drivers/net/ethernet/intel/ice/ice_dpll.c          | 14 +++++++-------
 drivers/net/ethernet/mellanox/mlx5/core/dpll.c     |  2 +-
 .../ethernet/mellanox/mlx5/core/en/tc_tun_vxlan.c  |  2 +-
 .../net/ethernet/mellanox/mlx5/core/en_ethtool.c   |  2 +-
 .../net/ethernet/mellanox/mlx5/core/esw/bridge.c   |  6 +++---
 drivers/net/ethernet/sfc/mae.c                     |  2 +-
 drivers/net/ethernet/sfc/tc.c                      |  6 +++---
 net/sched/sch_qfq.c                                |  2 +-
 scripts/coccinelle/misc/newline_in_nl_msg.cocci    | 13 ++++++++-----
 9 files changed, 26 insertions(+), 23 deletions(-)