Re: [PATCH 3/3] mm/hugetlb: fix various coding style warnings.
From: Zi Yan
Date: Sat Sep 05 2026 - 12:24:23 EST
On Sat Sep 5, 2026 at 10:01 AM EDT, Christos Skarlos wrote:
> Resolve coding style issues flagged by the checkpatch.pl script. Specifically:
> - Fix block comment formatting to keep tailing '*/' on a separate line.
> - Add missing blank lines after variable declarations.
> - Remove anecessary braces {} from single statement blocks.
>
> No functional changes where introduced.
>
> Signed-off-by: Christos Skarlos <christosskarlos.kernel@xxxxxxxxx>
> ---
> mm/hugetlb.c | 17 +++++++++++------
> 1 file changed, 11 insertions(+), 6 deletions(-)
>
<snip>
> @@ -3764,6 +3766,7 @@ static int set_max_huge_pages(struct hstate *h, unsigned long count, int nid,
> unsigned long allocated;
> struct folio *folio;
> LIST_HEAD(page_list);
> +
> NODEMASK_ALLOC(nodemask_t, node_alloc_noretry, GFP_KERNEL);
Please check the definition of NODEMASK_ALLOC. No new line is needed
here.
--
Best Regards,
Yan, Zi