mbox series

[net-next,0/2] mlxsw: Fix -Wformat-truncation warnings

Message ID cover.1696600763.git.petrm@nvidia.com (mailing list archive)
Headers show
Series mlxsw: Fix -Wformat-truncation warnings | expand

Message

Petr Machata Oct. 6, 2023, 2:43 p.m. UTC
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(-)

Comments

Simon Horman Oct. 8, 2023, 1:59 p.m. UTC | #1
On Fri, Oct 06, 2023 at 04:43:15PM +0200, Petr Machata wrote:
> 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

For series,

Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Simon Horman <horms@kernel.org> # build-tested
patchwork-bot+netdevbpf@kernel.org Oct. 10, 2023, 10:20 a.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@redhat.com>:

On Fri, 6 Oct 2023 16:43:15 +0200 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] mlxsw: core_thermal: Fix -Wformat-truncation warning
    https://git.kernel.org/netdev/net-next/c/83b2d81b691c
  - [net-next,2/2] mlxsw: spectrum_ethtool: Fix -Wformat-truncation warning
    https://git.kernel.org/netdev/net-next/c/392ce2abb0ce

You are awesome, thank you!