Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 4 participants 5 messages Jul 10, 2025 – Jul 11, 2025

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

Hi all,

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

mm/migrate.c:215: warning: Function parameter or struct member 'dst' not described in 'migrate_movable_ops_page' mm/migrate.c:215: warning: Function parameter or struct member 'src' not described in 'migrate_movable_ops_page' mm/migrate.c:215: warning: Function parameter or struct member 'mode' not described in 'migrate_movable_ops_page' mm/migrate.c:215: warning: Excess function parameter 'page' description in 'migrate_movable_ops_page'

Introduced by commit

d5967fb0bf8e ("mm/migrate: factor out movable_ops page handling into migrate_movable_ops_page()")

Signature · 2 lines
Cheers,
Stephen Rothwell
maintainer
#1 lore raw
Quoted 5 lines · On Thu, 10 Jul 2025 17:54:46 +1000 Stephen Rothwell <[email protected]>…

Hi all,

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

Quoted 8 lines

mm/migrate.c:215: warning: Function parameter or struct member 'dst' not described in 'migrate_movable_ops_page' mm/migrate.c:215: warning: Function parameter or struct member 'src' not described in 'migrate_movable_ops_page' mm/migrate.c:215: warning: Function parameter or struct member 'mode' not described in 'migrate_movable_ops_page' mm/migrate.c:215: warning: Excess function parameter 'page' description in 'migrate_movable_ops_page'

Introduced by commit

d5967fb0bf8e ("mm/migrate: factor out movable_ops page handling into migrate_movable_ops_page()")

How about this?

mm/migrate.c renamed from mm/migrate.c~mm-migrate-factor-out-movable_ops-page-handling-into-migrate_movable_ops_page-fix +3 -1
@@ -161,7 +161,9 @@ static void putback_movable_ops_page(str
 
 /**
  * migrate_movable_ops_page - migrate an isolated movable_ops page
- * @page: The isolated page.
+ * @dst: The destination page.
+ * @src: The source page.
+ * @mode: The migration mode.
  *
  * Migrate an isolated movable_ops page.
  *

_

#2 lore raw

Hi Andrew,

Quoted 16 lines · On Thu, 10 Jul 2025 15:30:17 -0700 Andrew Morton <[email protected]>…

How about this?

mm/migrate.c renamed from mm/migrate.c~mm-migrate-factor-out-movable_ops-page-handling-into-migrate_movable_ops_page-fix +3 -1
@@ -161,7 +161,9 @@ static void putback_movable_ops_page(str
 
 /**
  * migrate_movable_ops_page - migrate an isolated movable_ops page
- * @page: The isolated page.
+ * @dst: The destination page.
+ * @src: The source page.
+ * @mode: The migration mode.
  *
  * Migrate an isolated movable_ops page.
  *
Quoted 2 lines

_

Looks good to me (but I haven't actually tested it).

Signature · 2 lines
Cheers,
Stephen Rothwell
Acked-by Tested-by
#3 lore raw
In reply to Andrew Morton
Quoted 31 lines · Andrew Morton
Quoted 5 lines · On Thu, 10 Jul 2025 17:54:46 +1000 Stephen Rothwell <[email protected]>…

Hi all,

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

Quoted 8 lines

mm/migrate.c:215: warning: Function parameter or struct member 'dst' not described in 'migrate_movable_ops_page' mm/migrate.c:215: warning: Function parameter or struct member 'src' not described in 'migrate_movable_ops_page' mm/migrate.c:215: warning: Function parameter or struct member 'mode' not described in 'migrate_movable_ops_page' mm/migrate.c:215: warning: Excess function parameter 'page' description in 'migrate_movable_ops_page'

Introduced by commit

d5967fb0bf8e ("mm/migrate: factor out movable_ops page handling into migrate_movable_ops_page()")

How about this?

mm/migrate.c renamed from mm/migrate.c~mm-migrate-factor-out-movable_ops-page-handling-into-migrate_movable_ops_page-fix +3 -1
@@ -161,7 +161,9 @@ static void putback_movable_ops_page(str
 
 /**
  * migrate_movable_ops_page - migrate an isolated movable_ops page
- * @page: The isolated page.
+ * @dst: The destination page.
+ * @src: The source page.
+ * @mode: The migration mode.
  *
  * Migrate an isolated movable_ops page.
  *
Quoted 1 line

_

Signature · 1 line
~Randy
#4 lore raw
In reply to Andrew Morton
Quoted 7 lines · Andrew Morton
Quoted 5 lines · On Thu, 10 Jul 2025 17:54:46 +1000 Stephen Rothwell <[email protected]>…

Hi all,

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

Hi,

Quoted 9 lines
Quoted 8 lines

mm/migrate.c:215: warning: Function parameter or struct member 'dst' not described in 'migrate_movable_ops_page' mm/migrate.c:215: warning: Function parameter or struct member 'src' not described in 'migrate_movable_ops_page' mm/migrate.c:215: warning: Function parameter or struct member 'mode' not described in 'migrate_movable_ops_page' mm/migrate.c:215: warning: Excess function parameter 'page' description in 'migrate_movable_ops_page'

Introduced by commit

d5967fb0bf8e ("mm/migrate: factor out movable_ops page handling into migrate_movable_ops_page()")

Thanks Andrew for taking care of this, was out the last two days.

mm/migrate.c static void putback_movable_ops_page(str · line 166

Quoted 12 lines

How about this?

mm/migrate.c renamed from mm/migrate.c~mm-migrate-factor-out-movable_ops-page-handling-into-migrate_movable_ops_page-fix +3 -1
@@ -161,7 +161,9 @@ static void putback_movable_ops_page(str
 
  /**
   * migrate_movable_ops_page - migrate an isolated movable_ops page
- * @page: The isolated page.
+ * @dst: The destination page.
+ * @src: The source page.
+ * @mode: The migration mode.

LGTM, thanks!

Signature · 3 lines
Cheers,

David / dhildenb