Skip to contentSkip to conversation

linux-next: build warning after merge of the mm tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Sep 19, 2022

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the mm tree, today's linux-next build (htmldocs) produced this warning:

include/linux/gfp.h:1: warning: no structured comments found

Introduced by commit

4f57293dcaaa ("mm/page_alloc: remove obsolete gfpflags_normal_context()")

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw
Quoted 10 lines · Stephen Rothwell

Hi all,

After merging the mm tree, today's linux-next build (htmldocs) produced this warning:

include/linux/gfp.h:1: warning: no structured comments found

Introduced by commit

4f57293dcaaa ("mm/page_alloc: remove obsolete gfpflags_normal_context()")

Many thanks for report. It seems there's no structured comments for htmldocs left after above commit. So I think htmldocs for this file should be deleted. Does below code change fixes the warning?

Documentation/core-api/mm-api.rst +0 -3
index 1ebcc6c3fafe..f5dde5bceaea 100644
@@ -19,9 +19,6 @@ User Space Memory Access
 Memory Allocation Controls
 ==========================
 
-.. kernel-doc:: include/linux/gfp.h
-   :internal:
-
 .. kernel-doc:: include/linux/gfp_types.h
    :doc: Page mobility and placement hints
 

It will be really appreciated if you can help verify this. Thanks a lot. :)

Thanks,
Miaohe Lin