Re: [PATCH -next] mm/hugetlb_cgroup: fix -Wformat-truncation warning
From: Xiujianfeng
Date: Mon Dec 22 2025 - 20:18:53 EST
On 12/23/2025 3:15 AM, Andrew Morton wrote:
On Mon, 22 Dec 2025 07:23:59 +0000 Xiu Jianfeng <xiujianfeng@xxxxxxxxxxxxxxx> wrote:Thanks, Andrew.
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:.