Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 3 messages Mar 5, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

include/linux/mm_types.h:482: warning: Function parameter or struct member '_usable_1' not described in 'folio' include/linux/mm_types.h:482: warning: Function parameter or struct member '_mapcount_1' not described in 'folio' include/linux/mm_types.h:482: warning: Function parameter or struct member '_refcount_1' not described in 'folio'

Introduced by commit

bbde3b621cf7 ("mm: let _folio_nr_pages overlay memcg_data in first tail page")

from the mm-unstable branch of the mm tree.

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

Hi all,

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

include/linux/mm_types.h:482: warning: Function parameter or struct member '_usable_1' not described in 'folio' include/linux/mm_types.h:482: warning: Function parameter or struct member '_mapcount_1' not described in 'folio' include/linux/mm_types.h:482: warning: Function parameter or struct member '_refcount_1' not described in 'folio'

Quoted 5 lines

Introduced by commit

bbde3b621cf7 ("mm: let _folio_nr_pages overlay memcg_data in first tail page")

from the mm-unstable branch of the mm tree.

Hm, we also don't document other dummy placeholders like:

* _flags_1
* _head_1
* __page_1

So I assume there must be one way to silence these warnings, let me dig ...

Signature · 3 lines
Cheers,

David / dhildenb
#2 lore raw
Quoted 16 lines · David Hildenbrand
Quoted 9 lines · Stephen Rothwell

Hi all,

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

include/linux/mm_types.h:482: warning: Function parameter or struct member '_usable_1' not described in 'folio' include/linux/mm_types.h:482: warning: Function parameter or struct member '_mapcount_1' not described in 'folio' include/linux/mm_types.h:482: warning: Function parameter or struct member '_refcount_1' not described in 'folio'

Quoted 5 lines

Introduced by commit

bbde3b621cf7 ("mm: let _folio_nr_pages overlay memcg_data in first tail page")

from the mm-unstable branch of the mm tree.

Quoted 7 lines

Hm, we also don't document other dummy placeholders like:

* _flags_1
* _head_1
* __page_1

So I assume there must be one way to silence these warnings, let me dig ...

Ah, likely because they are part of the "private:" section.

Signature · 3 lines
Cheers,

David / dhildenb