[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aGPpBDaBjl3c2dWu@localhost.localdomain>
Date: Tue, 1 Jul 2025 15:56:20 +0200
From: Oscar Salvador <osalvador@...e.de>
To: Thorsten Blum <thorsten.blum@...ux.dev>
Cc: Muchun Song <muchun.song@...ux.dev>,
David Hildenbrand <david@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] mm/hugetlb: Use str_plural() in report_hugepages()
On Mon, Jun 30, 2025 at 07:18:26PM +0200, Thorsten Blum wrote:
> Use the string choice helper function str_plural() to simplify the code
> and to fix the following Coccinelle/coccicheck warning reported by
> string_choices.cocci:
>
> opportunity for str_plural(nrinvalid)
>
> Signed-off-by: Thorsten Blum <thorsten.blum@...ux.dev>
Acked-by: Oscar Salvador <osalvador@...e.de>
--
Oscar Salvador
SUSE Labs
Powered by blists - more mailing lists