Skip to content

mlxsw: Fix -Wformat-truncation warnings

Petr Machata netdev 1 version Applied

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

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 1 replyApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2mlxsw: core_thermal: Fix -Wformat-truncation warningdrivers/net/ethernet/mellanox/mlxsw/core_thermal.c+1 -10 repliesApplied
2/2mlxsw: spectrum_ethtool: Fix -Wformat-truncation warningdrivers/net/ethernet/mellanox/mlxsw/spectrum_ethtool.c+1 -10 repliesApplied

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPetr MachataSimon Horman
SeriesR-b T-b
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH net-next 0/2] mlxsw: Fix -Wformat-truncation warnings

Ido Schimmel writes:

Commit 6d4ab2e97dcf ("extrawarn: enable format and stringop overflow warnings in W=1") enabled format warnings as part of W=1 builds, resulting in two new warnings in mlxsw. Fix both and target at net-next as the warnings are not indicative of actual bugs.

Ido Schimmel (2):
mlxsw: core_thermal: Fix -Wformat-truncation warning
mlxsw: spectrum_ethtool: Fix -Wformat-truncation warning

 drivers/net/ethernet/mellanox/mlxsw/core_thermal.c     | 2 +-
 drivers/net/ethernet/mellanox/mlxsw/spectrum_ethtool.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
2.41.0