Re: [PATCH] mm/hugetlb: Use str_plural() in report_hugepages()

Oscar Salvador
2025-07-01T13:56:31Z

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@linux.dev>

Acked-by: Oscar Salvador <osalvador@suse.de>

--
Oscar Salvador
SUSE Labs