linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Xiujianfeng <xiujianfeng@huaweicloud.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: muchun.song@linux.dev, osalvador@suse.de, david@kernel.org,
	linux-mm@kvack.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH -next] mm/hugetlb_cgroup: fix -Wformat-truncation warning
Date: Tue, 23 Dec 2025 09:18:50 +0800	[thread overview]
Message-ID: <c6f29d34-35e9-4cd6-b91d-42b15e4aa41a@huaweicloud.com> (raw)
In-Reply-To: <20251222111530.c285692e5872035d6ee68264@linux-foundation.org>


On 12/23/2025 3:15 AM, Andrew Morton wrote:
> On Mon, 22 Dec 2025 07:23:59 +0000 Xiu Jianfeng <xiujianfeng@huaweicloud.com> wrote:
> 
>> A false-positive compile warnings with -Wformat-trucation was introduced
>> by commit 47179fe03588 ("mm/hugetlb_cgroup: prepare cftypes based
>> on template") on arch s390. Suppress it by replacing snprintf() with
>> scnprintf().
> 
> Thanks.
> 
> Let's quote that error message in the changelog and include the Fixes:.
Thanks, Andrew.



      reply	other threads:[~2025-12-23  1:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-22  7:23 Xiu Jianfeng
2025-12-22 19:15 ` Andrew Morton
2025-12-23  1:18   ` Xiujianfeng [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=c6f29d34-35e9-4cd6-b91d-42b15e4aa41a@huaweicloud.com \
    --to=xiujianfeng@huaweicloud.com \
    --cc=akpm@linux-foundation.org \
    --cc=david@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=muchun.song@linux.dev \
    --cc=osalvador@suse.de \
    /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