Subject: Re: [PATCH net-next 10/10] mlxsw: core_thermal: Fix -Wformat-truncation warning

From: Jakub Kicinski <[email-masked]>
Date: Wed, 31 Jul 2024 18:40:11 -0700

On Tue, 30 Jul 2024 15:58:21 +0200 Petr Machata wrote:
> From: Ido Schimmel <[email-masked]>
> 
> The name of a thermal zone device cannot be longer than 19 characters
> ('THERMAL_NAME_LENGTH - 1'). The format string 'mlxsw-lc%d-module%d' can
> exceed this limitation if the maximum number of line cards cannot be
> represented using a single digit and the maximum number of transceiver
> modules cannot be represented using two digits.

The ordering could have been better since this comes from patch 6 
in the same series :(