Linux-mm Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mm/migrate: add missing kernel-doc for @migrate_info
@ 2026-07-17  2:21 Randy Dunlap
  2026-07-18  0:08 ` SJ Park
  0 siblings, 1 reply; 2+ messages in thread
From: Randy Dunlap @ 2026-07-17  2:21 UTC (permalink / raw)
  To: linux-mm; +Cc: Randy Dunlap, Shivank Garg, Andrew Morton

Add a kernel-doc comment for @migrate_info so that kernel-doc won't
produce a warning about it:

WARNING: include/linux/mm_types.h:507 struct member 'migrate_info' not described in 'folio'

Fixes: f3768940afdc ("mm/migrate: use migrate_info field instead of private")
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: Shivank Garg <shivankg@amd.com>
Cc: Andrew Morton <akpm@linux-foundation.org>

 include/linux/mm_types.h |    2 ++
 1 file changed, 2 insertions(+)

--- linux-next-20260715.orig/include/linux/mm_types.h
+++ linux-next-20260715/include/linux/mm_types.h
@@ -368,6 +368,8 @@ typedef unsigned short mm_id_t;
  *    dax_associate_entry.
  * @private: Filesystem per-folio data (see folio_attach_private()).
  * @swap: Used for swp_entry_t if folio_test_swapcache().
+ * @migrate_info: Stores migration state (anon_vma pointer and
+ *    FOLIO_WAS_* markers).
  * @_mapcount: Do not access this member directly.  Use folio_mapcount() to
  *    find out how many times this folio is mapped by userspace.
  * @_refcount: Do not access this member directly.  Use folio_ref_count()


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-07-18  0:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-17  2:21 [PATCH] mm/migrate: add missing kernel-doc for @migrate_info Randy Dunlap
2026-07-18  0:08 ` SJ Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox