public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: "Hans de Goede" <hdegoede@redhat.com>,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	"Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Subject: Re: [PATCH 1/1] platform/x86/intel/tpmi/plr: Make char[] longer to silence warning
Date: Thu, 12 Dec 2024 16:47:27 +0200	[thread overview]
Message-ID: <173401484734.7675.1325094821031261568.b4-ty@linux.intel.com> (raw)
In-Reply-To: <20241210140115.1375-1-ilpo.jarvinen@linux.intel.com>

On Tue, 10 Dec 2024 16:01:14 +0200, Ilpo Järvinen wrote:

> W=1 build triggers this warning:
> 
> drivers/platform/x86/intel/plr_tpmi.c:315:55: error: ‘snprintf’ output
> may be truncated before the last format character
> [-Werror=format-truncation=]
>   315 |                 snprintf(name, sizeof(name), "domain%d", i);
>       |                                                       ^
> drivers/platform/x86/intel/plr_tpmi.c:315:17: note: ‘snprintf’ output
> between 8 and 17 bytes into a destination of size 16
>   315 |                 snprintf(name, sizeof(name), "domain%d", i);
> 
> [...]


Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.

The list of commits applied:
[1/1] platform/x86/intel/tpmi/plr: Make char[] longer to silence warning
      commit: 45ec7a0a788372ae3d83c1142ddde52ae09606e5

--
 i.


      reply	other threads:[~2024-12-12 14:47 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-10 14:01 [PATCH 1/1] platform/x86/intel/tpmi/plr: Make char[] longer to silence warning Ilpo Järvinen
2024-12-12 14:47 ` Ilpo Järvinen [this message]

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=173401484734.7675.1325094821031261568.b4-ty@linux.intel.com \
    --to=ilpo.jarvinen@linux.intel.com \
    --cc=hdegoede@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=platform-driver-x86@vger.kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox