[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240731184011.3f530efa@kernel.org>
Date: Wed, 31 Jul 2024 18:40:11 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Petr Machata <petrm@...dia.com>
Cc: "David S. Miller" <davem@...emloft.net>, Eric Dumazet
<edumazet@...gle.com>, Paolo Abeni <pabeni@...hat.com>,
<netdev@...r.kernel.org>, Vadim Pasternak <vadimp@...dia.com>, Ido Schimmel
<idosch@...dia.com>, <mlxsw@...dia.com>
Subject: Re: [PATCH net-next 10/10] mlxsw: core_thermal: Fix
-Wformat-truncation warning
On Tue, 30 Jul 2024 15:58:21 +0200 Petr Machata wrote:
> From: Ido Schimmel <idosch@...dia.com>
>
> 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 :(
Powered by blists - more mailing lists