Re: [PATCH] mm/hugetlb_cgroup: add trailing #endif comment for include guard

From: David Hildenbrand (Arm)

Date: Thu Oct 01 2026 - 08:13:15 EST


On 10/1/26 13:39, Enze Li wrote:
> The final #endif that closes the _LINUX_HUGETLB_CGROUP_H include guard
> is left without a comment. Add the macro name to the comment for
> consistency and easier navigation.
>
> Signed-off-by: Enze Li <lienze@xxxxxxxxxx>
> ---
> include/linux/hugetlb_cgroup.h | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/include/linux/hugetlb_cgroup.h b/include/linux/hugetlb_cgroup.h
> index 16d72c8c71f6..b4e0958eabf3 100644
> --- a/include/linux/hugetlb_cgroup.h
> +++ b/include/linux/hugetlb_cgroup.h
> @@ -268,4 +268,4 @@ static inline void hugetlb_cgroup_migrate(struct folio *old_folio,
> }
>
> #endif /* CONFIG_CGROUP_HUGETLB */
> -#endif
> +#endif /* _LINUX_HUGETLB_CGROUP_H */
>
> base-commit: 21c3620df8ad362e9f2069ac35577c2a2f782f33

Note that this was not sent to the MM mailing list and/or hugetlb maintainers.

Likely scripts/get_maintainers.pl will help you figure out whom to CC exactly.

--
Cheers,

David