* [PATCH] mm/hugetlb_cgroup: add trailing #endif comment for include guard
@ 2026-10-01 11:39 Enze Li
2026-10-01 12:01 ` David Hildenbrand (Arm)
0 siblings, 1 reply; 3+ messages in thread
From: Enze Li @ 2026-10-01 11:39 UTC (permalink / raw)
To: ljs, akpm, enelsonmoore, david, linux-kernel, enze.li
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@kylinos.cn>
---
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
--
2.25.1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mm/hugetlb_cgroup: add trailing #endif comment for include guard
2026-10-01 11:39 [PATCH] mm/hugetlb_cgroup: add trailing #endif comment for include guard Enze Li
@ 2026-10-01 12:01 ` David Hildenbrand (Arm)
2026-10-01 12:20 ` Enze Li
0 siblings, 1 reply; 3+ messages in thread
From: David Hildenbrand (Arm) @ 2026-10-01 12:01 UTC (permalink / raw)
To: Enze Li, ljs, akpm, enelsonmoore, linux-kernel, enze.li
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@kylinos.cn>
> ---
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] mm/hugetlb_cgroup: add trailing #endif comment for include guard
2026-10-01 12:01 ` David Hildenbrand (Arm)
@ 2026-10-01 12:20 ` Enze Li
0 siblings, 0 replies; 3+ messages in thread
From: Enze Li @ 2026-10-01 12:20 UTC (permalink / raw)
To: David Hildenbrand (Arm), ljs, akpm, enelsonmoore, linux-kernel, enze.li
On 10/1/26 20:01, David Hildenbrand (Arm) wrote:
> 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@kylinos.cn>
>> ---
>> 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.
>
Thank you, David :) I'll resend this patch to the correct mailing list.
Thanks,
Enze
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-10-01 12:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-10-01 11:39 [PATCH] mm/hugetlb_cgroup: add trailing #endif comment for include guard Enze Li
2026-10-01 12:01 ` David Hildenbrand (Arm)
2026-10-01 12:20 ` Enze Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®