All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jakub Kicinski <kuba@kernel.org>
To: Petr Machata <petrm@nvidia.com>
Cc: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Paolo Abeni <pabeni@redhat.com>, <netdev@vger.kernel.org>,
	Vadim Pasternak <vadimp@nvidia.com>,
	Ido Schimmel <idosch@nvidia.com>, <mlxsw@nvidia.com>
Subject: Re: [PATCH net-next 10/10] mlxsw: core_thermal: Fix -Wformat-truncation warning
Date: Wed, 31 Jul 2024 18:40:11 -0700	[thread overview]
Message-ID: <20240731184011.3f530efa@kernel.org> (raw)
In-Reply-To: <583a70c6dbe75e6bf0c2c58abbb3470a860d2dc3.1722345311.git.petrm@nvidia.com>

On Tue, 30 Jul 2024 15:58:21 +0200 Petr Machata wrote:
> From: Ido Schimmel <idosch@nvidia.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 :(

  reply	other threads:[~2024-08-01  1:40 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-30 13:58 [PATCH net-next 00/10] mlxsw: core_thermal: Small cleanups Petr Machata
2024-07-30 13:58 ` [PATCH net-next 01/10] mlxsw: core_thermal: Call thermal_zone_device_unregister() unconditionally Petr Machata
2024-07-30 13:58 ` [PATCH net-next 02/10] mlxsw: core_thermal: Remove unnecessary check Petr Machata
2024-07-30 13:58 ` [PATCH net-next 03/10] mlxsw: core_thermal: Remove another " Petr Machata
2024-07-30 13:58 ` [PATCH net-next 04/10] mlxsw: core_thermal: Fold two loops into one Petr Machata
2024-07-30 13:58 ` [PATCH net-next 05/10] mlxsw: core_thermal: Remove unused arguments Petr Machata
2024-07-30 13:58 ` [PATCH net-next 06/10] mlxsw: core_thermal: Make mlxsw_thermal_module_{init, fini} symmetric Petr Machata
2024-07-30 13:58 ` [PATCH net-next 07/10] mlxsw: core_thermal: Simplify rollback Petr Machata
2024-07-30 13:58 ` [PATCH net-next 08/10] mlxsw: core_thermal: Remove unnecessary checks Petr Machata
2024-07-30 13:58 ` [PATCH net-next 09/10] mlxsw: core_thermal: Remove unnecessary assignments Petr Machata
2024-07-30 13:58 ` [PATCH net-next 10/10] mlxsw: core_thermal: Fix -Wformat-truncation warning Petr Machata
2024-08-01  1:40   ` Jakub Kicinski [this message]
2024-07-31 13:13 ` [PATCH net-next 00/10] mlxsw: core_thermal: Small cleanups Wojciech Drewek
2024-08-01  1:40 ` patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240731184011.3f530efa@kernel.org \
    --to=kuba@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=idosch@nvidia.com \
    --cc=mlxsw@nvidia.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=petrm@nvidia.com \
    --cc=vadimp@nvidia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.