linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warning after merge of the mm tree
@ 2024-03-25  1:25 Stephen Rothwell
  2024-03-26  2:21 ` Suren Baghdasaryan
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2024-03-25  1:25 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Kent Overstreet, Suren Baghdasaryan, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 395 bytes --]

Hi all,

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

Documentation/filesystems/proc.rst:958: WARNING: Title underline too short.

allocinfo
~~~~~~~

Introduced by commit

  d08b311b6d49 ("lib: add allocation tagging support for memory allocation profiling")

from the mm-unstable branch of the mm tree.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2024-05-07  6:26 Stephen Rothwell
  0 siblings, 0 replies; 66+ messages in thread
From: Stephen Rothwell @ 2024-05-07  6:26 UTC (permalink / raw)
  To: Andrew Morton
  Cc: SeongJae Park, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 416 bytes --]

Hi all,

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

Documentation/mm/damon/design.rst:482: ERROR: Unexpected indentation.
Documentation/mm/damon/design.rst:483: WARNING: Block quote ends without a blank line; unexpected unindent.

Introduced by commit

  b7138c7d40b0 ("Docs/mm/damon/design: use a list for supported filters")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2024-04-17  5:18 Stephen Rothwell
  2024-04-17 15:57 ` Matthew Wilcox
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2024-04-17  5:18 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Matthew Wilcox (Oracle),
	Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 393 bytes --]

Hi all,

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

Documentation/filesystems/index.rst:50: WARNING: toctree contains reference to nonexisting document 'filesystems/buffer'

Introduced by commit

  4b61a0e73910 ("doc: split buffer.rst out of api-summary.rst")

from the mm-unstable branch of the mm tree.
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2024-04-15  5:20 Stephen Rothwell
  2024-04-15  5:45 ` Barry Song
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2024-04-15  5:20 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Barry Song, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 388 bytes --]

Hi all,

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

Documentation/ABI/testing/sys-kernel-mm-transparent-hugepage:2: ERROR: Unexpected indentation.

Introduced by commit

  a70dabb40c3d ("mm: add docs for per-order mTHP counters and transhuge_page ABI")

from the mm-unstable branch of the mm tree.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2024-03-27 22:13 Stephen Rothwell
  2024-03-28  1:59 ` Baoquan He
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2024-03-27 22:13 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Baoquan He, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 509 bytes --]

Hi all,

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

mm/page_alloc.c: In function 'build_zonelists':
mm/page_alloc.c:5324:13: warning: unused variable 'node' [-Wunused-variable]
 5324 |         int node, local_node;
      |             ^~~~

Introduced by commit

  95d0185255a3 ("mm/page_alloc.c: remove unneeded codes in !NUMA version of build_zonelists()")

from the mm-unstable branch of the mm tree.
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2024-03-25  1:22 Stephen Rothwell
  2024-03-25  8:56 ` David Hildenbrand
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2024-03-25  1:22 UTC (permalink / raw)
  To: Andrew Morton
  Cc: David Hildenbrand, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 742 bytes --]

Hi all,

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

Documentation/core-api/mm-api:112: include/linux/mm.h:2187: ERROR: Unexpected indentation.
Documentation/core-api/mm-api:112: include/linux/mm.h:2189: WARNING: Block quote ends without a blank line; unexpected unindent.
Documentation/core-api/mm-api:112: include/linux/mm.h:2199: ERROR: Unexpected indentation.
Documentation/core-api/mm-api:112: include/linux/mm.h:2200: WARNING: Block quote ends without a blank line; unexpected unindent.

Introduced by commit

  08ec651d776e ("mm: convert folio_estimated_sharers() to folio_likely_mapped_shared()")

from the mm-unstable branch of the mm tree.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2024-03-13  4:07 Stephen Rothwell
  2024-03-13  9:00 ` Uwe Kleine-König
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2024-03-13  4:07 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Uwe Kleine-König, Linux Kernel Mailing List,
	Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 456 bytes --]

Hi all,

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

Use of uninitialized value $ENV{"abs_srctree"} in concatenation (.) or string at /home/sfr/next/next/lib/build_OID_registry line 38.

Introduced by commit

  325f7b0aaea6 ("lib/build_OID_registry: Don't mention the full path of the script in output")

from the mm-nonmm-unstable branch of the mm tree.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2024-01-02  5:40 Stephen Rothwell
  2024-01-02 12:54 ` Kirill A. Shutemov
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2024-01-02  5:40 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Kirill A. Shutemov, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 378 bytes --]

Hi all,

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

Documentation/admin-guide/kdump/vmcoreinfo.rst:193: WARNING: Title underline too short.

(zone.free_area, NR_PAGE_ORDERS)
-------------------------------

Introduced by commit

  bfbd51786990 ("mm, treewide: introduce NR_PAGE_ORDERS")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2023-12-04  4:54 Stephen Rothwell
  2023-12-04 17:03 ` SeongJae Park
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2023-12-04  4:54 UTC (permalink / raw)
  To: Andrew Morton
  Cc: SeongJae Park, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 367 bytes --]

Hi all,

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

include/linux/damon.h:201: warning: Function parameter or member 'get_score_arg' not described in 'damos_quota'

Introduced by commit

  99b36eab9c05 ("mm/damon/core: implement goal-oriented feedback-driven quota auto-tuning")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2023-11-28  2:33 Stephen Rothwell
  0 siblings, 0 replies; 66+ messages in thread
From: Stephen Rothwell @ 2023-11-28  2:33 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Arnd Bergmann, Michael Ellerman, PowerPC,
	Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 433 bytes --]

Hi all,

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

arch/powerpc/kernel/swsusp_64.c:14:6: warning: no previous prototype for 'do_after_copyback' [-Wmissing-prototypes]
   14 | void do_after_copyback(void)
      |      ^~~~~~~~~~~~~~~~~

Exposed by commit

  c6345dfa6e3e ("Makefile.extrawarn: turn on missing-prototypes globally")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2023-10-04  4:46 Stephen Rothwell
  0 siblings, 0 replies; 66+ messages in thread
From: Stephen Rothwell @ 2023-10-04  4:46 UTC (permalink / raw)
  To: Andrew Morton
  Cc: David Hildenbrand, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 446 bytes --]

Hi all,

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

mm/rmap.c:1140: warning: Function parameter or member 'folio' not described in 'folio_move_anon_rmap'
mm/rmap.c:1140: warning: Excess function parameter 'page' description in 'folio_move_anon_rmap'

Introduced by commit

  35c5f94a6269 ("mm/rmap: convert page_move_anon_rmap() to folio_move_anon_rmap()")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2023-09-25 23:27 Stephen Rothwell
  0 siblings, 0 replies; 66+ messages in thread
From: Stephen Rothwell @ 2023-09-25 23:27 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Michał Mirosław, Muhammad Usama Anjum,
	Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 509 bytes --]

Hi all,

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

fs/proc/task_mmu.c:2022:13: warning: 'pagemap_scan_backout_range' defined but not used [-Wunused-function]
 2022 | static void pagemap_scan_backout_range(struct pagemap_scan_private *p,
      |             ^~~~~~~~~~~~~~~~~~~~~~~~~~

Introduced by commit

  93538f467c0f ("fs/proc/task_mmu: implement IOCTL to get and optionally clear info about PTEs")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2023-09-18  3:18 Stephen Rothwell
  0 siblings, 0 replies; 66+ messages in thread
From: Stephen Rothwell @ 2023-09-18  3:18 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Usama Arif, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 339 bytes --]

Hi all,

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

mm/memblock.c:906: warning: Function parameter or member 'type' not described in 'memblock_setclr_flag'

Introduced by commit

  70083e1c8ab4 ("memblock: pass memblock_type to memblock_setclr_flag")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2023-09-12  5:20 Stephen Rothwell
  0 siblings, 0 replies; 66+ messages in thread
From: Stephen Rothwell @ 2023-09-12  5:20 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Andreas Gruenbacher, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

Hi all,

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

kernel/kthread.c:726: warning: Function parameter or member 'k' not described in 'kthread_stop_put'

Introduced by commit

  ae89b54018aa ("kthread: add kthread_stop_put")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2023-06-05  3:10 Stephen Rothwell
  2023-06-05 14:57 ` Liam R. Howlett
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2023-06-05  3:10 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Liam R. Howlett, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 317 bytes --]

Hi all,

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

mm/memory.c:1705: warning: Excess function parameter 'mt' description in 'unmap_vmas'

Introduced by commit

  c57d0b88196f ("mm: change do_vmi_align_munmap() side tree index")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2023-05-15 23:25 Stephen Rothwell
  0 siblings, 0 replies; 66+ messages in thread
From: Stephen Rothwell @ 2023-05-15 23:25 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Lorenzo Stoakes, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 520 bytes --]

Hi all,

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

mm/memory.c: In function '__access_remote_vm':
mm/memory.c:5608:29: warning: unused variable 'ret' [-Wunused-variable]
 5608 |                         int ret = 0;
      |                             ^~~

Introduced by commit

  eca1a00155df ("mm/gup: remove vmas parameter from get_user_pages_remote()")

"ret" is only used if CONFIG_HAVE_IOREMAP_PROT is set.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2023-05-08  1:19 Stephen Rothwell
  2023-05-08 21:36 ` Nhat Pham
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2023-05-08  1:19 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Nhat Pham, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

Hi all,

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

<stdin>:1567:2: warning: #warning syscall cachestat not implemented [-Wcpp]

Introduced by commit

  c36ee88cc47d ("cachestat: implement cachestat syscall")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2023-03-20  3:47 Stephen Rothwell
  2023-03-23  2:58 ` Stephen Rothwell
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2023-03-20  3:47 UTC (permalink / raw)
  To: Andrew Morton
  Cc: David Miller, Linux Kernel Mailing List, Linux Next Mailing List,
	Lorenzo Stoakes

[-- Attachment #1: Type: text/plain, Size: 3472 bytes --]

Hi all,

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

In file included from include/linux/wait.h:11,
                 from include/linux/swait.h:8,
                 from include/linux/completion.h:12,
                 from include/linux/mm_types.h:14,
                 from include/linux/uio.h:10,
                 from include/linux/vmalloc.h:12,
                 from include/asm-generic/io.h:994,
                 from arch/sparc/include/asm/io.h:22,
                 from arch/sparc/vdso/vclock_gettime.c:18:
arch/sparc/include/asm/current.h:18:30: warning: call-clobbered register used for global register variable
   18 | register struct task_struct *current asm("g4");
      |                              ^~~~~~~

I guess the immediate cause is commit

  4e29dd9708cb ("mm: vmalloc: convert vread() to vread_iter()")

from the mm that included linux/uio.h into include/linux/vmalloc.h.
Though there may be a deeper old cause that may need addressing in the
longer term.

Indeed, this patch (obviously) makes the warning go away (and
presumably speeds up the build ever so slightly :-)).

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 20 Mar 2023 14:02:18 +1100
Subject: [PATCH] mm: vmalloc: fix sparc64 warning

This fixes this warning from a sparc64 defconfig build:

In file included from /home/sfr/next/next/include/linux/wait.h:11,
                 from /home/sfr/next/next/include/linux/swait.h:8,
                 from /home/sfr/next/next/include/linux/completion.h:12,
                 from /home/sfr/next/next/include/linux/mm_types.h:14,
                 from /home/sfr/next/next/include/linux/uio.h:10,
                 from /home/sfr/next/next/include/linux/vmalloc.h:12,
                 from /home/sfr/next/next/include/asm-generic/io.h:994,
                 from /home/sfr/next/next/arch/sparc/include/asm/io.h:22,
                 from /home/sfr/next/next/arch/sparc/vdso/vclock_gettime.c:18:
/home/sfr/next/next/arch/sparc/include/asm/current.h:18:30: warning: call-clobbered register used for global register variable
   18 | register struct task_struct *current asm("g4");
      |                              ^~~~~~~

Fixes: 4e29dd9708cb ("mm: vmalloc: convert vread() to vread_iter()")
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 include/linux/vmalloc.h | 2 +-
 mm/vmalloc.c            | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/linux/vmalloc.h b/include/linux/vmalloc.h
index 6beb2ace6a7a..c187c4d9bc33 100644
--- a/include/linux/vmalloc.h
+++ b/include/linux/vmalloc.h
@@ -9,12 +9,12 @@
 #include <asm/page.h>		/* pgprot_t */
 #include <linux/rbtree.h>
 #include <linux/overflow.h>
-#include <linux/uio.h>
 
 #include <asm/vmalloc.h>
 
 struct vm_area_struct;		/* vma defining user mapping in mm_types.h */
 struct notifier_block;		/* in notifier.h */
+struct iov_iter;		/* in uio.h */
 
 /* bits in flags of vmalloc's vm_struct below */
 #define VM_IOREMAP		0x00000001	/* ioremap() and friends */
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
index f19509a6eef4..6e5647937dab 100644
--- a/mm/vmalloc.c
+++ b/mm/vmalloc.c
@@ -40,6 +40,7 @@
 #include <linux/hugetlb.h>
 #include <linux/sched/mm.h>
 #include <linux/rwsem.h>
+#include <linux/uio.h>
 #include <asm/tlbflush.h>
 #include <asm/shmparam.h>
 
-- 
2.39.2

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2023-03-16  1:12 Stephen Rothwell
  0 siblings, 0 replies; 66+ messages in thread
From: Stephen Rothwell @ 2023-03-16  1:12 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Alexey Dobriyan, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 301 bytes --]

Hi all,

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

Documentation/ELF/ELF.rst: WARNING: document isn't included in any toctree

Introduced by commit

  6d73cfdeee15 ("ELF: document some de-facto PT_* ABI quirks")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2023-03-01  0:36 Stephen Rothwell
  2023-03-01  0:47 ` Suren Baghdasaryan
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2023-03-01  0:36 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Suren Baghdasaryan, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 323 bytes --]

Hi all,

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

include/linux/mm_types.h:1105: warning: Enum value 'FAULT_FLAG_VMA_LOCK' not described in enum 'fault_flag'

Introduced by commit

  5827f16cffd6 ("mm: add FAULT_FLAG_VMA_LOCK flag")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2023-01-17  3:51 Stephen Rothwell
  0 siblings, 0 replies; 66+ messages in thread
From: Stephen Rothwell @ 2023-01-17  3:51 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Matthew Wilcox (Oracle),
	Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 371 bytes --]

Hi all,

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

Documentation/mm/unevictable-lru.rst:186: WARNING: Title underline too short.

Vmscan's Handling of Unevictable Folios
--------------------------------------

Introduced by commit

  efe2b9e7bb9d ("mm: remove page_evictable()")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2022-12-17 19:22 Stephen Rothwell
  0 siblings, 0 replies; 66+ messages in thread
From: Stephen Rothwell @ 2022-12-17 19:22 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Johannes Weiner, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 396 bytes --]

Hi all,

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

Documentation/admin-guide/cgroup-v1/memory.rst:723: WARNING: Title underline too short.

8. Move charges at task migration (DEPRECATED!)
=================================

Introduced by commit

  67c497111586 ("mm: memcontrol: deprecate charge moving")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2022-11-10  7:36 Stephen Rothwell
  0 siblings, 0 replies; 66+ messages in thread
From: Stephen Rothwell @ 2022-11-10  7:36 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Linus Torvalds, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 343 bytes --]

Hi all,

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

include/linux/mm.h:1214: warning: cannot understand function prototype: 'typedef union '

Introduced by commit

  4a3df046c983 ("mm: teach release_pages() to take an array of encoded page pointers too")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2022-11-10  7:33 Stephen Rothwell
  2022-11-10 16:27 ` Linus Torvalds
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2022-11-10  7:33 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Linus Torvalds, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 312 bytes --]

Hi all,

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

include/linux/mm_types.h:268: error: Cannot parse struct or union!

Introduced by commit

  ff02b16f96f5 ("mm: introduce 'encoded' page pointers with embedded extra bits")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2022-10-26  0:57 Stephen Rothwell
  2022-10-26  1:13 ` Sergey Senozhatsky
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2022-10-26  0:57 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Sergey Senozhatsky, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 355 bytes --]

Hi all,

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

Documentation/admin-guide/blockdev/zram.rst:304: WARNING: Title underline too short.

10) Deactivate
=============

Introduced by commit

  410119cc7a63 ("Documentation: document zram pool_page_order attribute")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2022-09-19  9:09 Stephen Rothwell
  2022-09-19  9:30 ` Miaohe Lin
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2022-09-19  9:09 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Miaohe Lin, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

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()")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2022-07-21  9:55 Stephen Rothwell
  2022-07-21 11:11 ` Zach O'Keefe
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2022-07-21  9:55 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Zach O'Keefe, Linux Kernel Mailing List,
	Linux Next Mailing List, Michael Ellerman

[-- Attachment #1: Type: text/plain, Size: 2993 bytes --]

Hi all,

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

In file included from arch/powerpc/include/asm/book3s/64/mmu-hash.h:20,
                 from arch/powerpc/include/asm/book3s/64/mmu.h:32,
                 from arch/powerpc/include/asm/mmu.h:393,
                 from arch/powerpc/include/asm/lppaca.h:46,
                 from arch/powerpc/include/asm/paca.h:18,
                 from arch/powerpc/include/asm/current.h:13,
                 from include/linux/thread_info.h:23,
                 from include/asm-generic/preempt.h:5,
                 from ./arch/powerpc/include/generated/asm/preempt.h:1,
                 from include/linux/preempt.h:78,
                 from include/linux/spinlock.h:55,
                 from include/linux/mmzone.h:8,
                 from include/linux/gfp.h:7,
                 from include/linux/mm.h:7,
                 from mm/khugepaged.c:4:
arch/powerpc/include/asm/book3s/64/pgtable.h:190:25: warning: "__pte_index_size" is not defined, evaluates to 0 [-Wundef]
  190 | #define PTE_INDEX_SIZE  __pte_index_size
      |                         ^~~~~~~~~~~~~~~~
arch/powerpc/include/asm/book3s/64/pgtable.h:241:39: note: in expansion of macro 'PTE_INDEX_SIZE'
  241 | #define PMD_SHIFT       (PAGE_SHIFT + PTE_INDEX_SIZE)
      |                                       ^~~~~~~~~~~~~~
include/linux/huge_mm.h:109:25: note: in expansion of macro 'PMD_SHIFT'
  109 | #define HPAGE_PMD_SHIFT PMD_SHIFT
      |                         ^~~~~~~~~
include/linux/huge_mm.h:105:26: note: in expansion of macro 'HPAGE_PMD_SHIFT'
  105 | #define HPAGE_PMD_ORDER (HPAGE_PMD_SHIFT-PAGE_SHIFT)
      |                          ^~~~~~~~~~~~~~~
mm/khugepaged.c:95:5: note: in expansion of macro 'HPAGE_PMD_ORDER'
   95 | #if HPAGE_PMD_ORDER < 16
      |     ^~~~~~~~~~~~~~~

Introduced by commit

  adcc4e193b6b ("mm/khugepaged: use minimal bits to store num page < HPAGE_PMD_NR")

So HPAGE_PMD_ORDER is not a constant on ppc64 ...

I applied this hack for today (which makes it build without warning and
puts things more or less back as they were for ppo64).

From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Thu, 21 Jul 2022 19:49:40 +1000
Subject: [PATCH] fix up for "mm/khugepaged: use minimal bits to store num page < HPAGE_PMD_NR"

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 mm/khugepaged.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/mm/khugepaged.c b/mm/khugepaged.c
index 28cb8429dad4..d8e388106322 100644
--- a/mm/khugepaged.c
+++ b/mm/khugepaged.c
@@ -92,7 +92,9 @@ struct collapse_control {
 	bool is_khugepaged;
 
 	/* Num pages scanned per node */
-#if HPAGE_PMD_ORDER < 16
+#if defined(CONFIG_PPC64)
+	u32 node_load[MAX_NUMNODES];
+#elif HPAGE_PMD_ORDER < 16
 	u16 node_load[MAX_NUMNODES];
 #else
 	u32 node_load[MAX_NUMNODES];
-- 
2.35.1

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply related	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2022-07-18 10:28 Stephen Rothwell
  2022-07-18 22:54 ` Andrew Morton
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2022-07-18 10:28 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Theodore Ts'o, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 662 bytes --]

Hi all,

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

mm/shmem.c:2848:12: warning: 'shmem_fileattr_set' defined but not used [-Wunused-function]
 2848 | static int shmem_fileattr_set(struct user_namespace *mnt_userns,
      |            ^~~~~~~~~~~~~~~~~~
mm/shmem.c:2839:12: warning: 'shmem_fileattr_get' defined but not used [-Wunused-function]
 2839 | static int shmem_fileattr_get(struct dentry *dentry, struct fileattr *fa)
      |            ^~~~~~~~~~~~~~~~~~

Introduced by commit

  8673852551f0 ("mm/shmem: support FS_IOC_[SG]ETFLAGS in tmpfs")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2022-06-22  5:54 Stephen Rothwell
  2022-06-22  7:11 ` Stephen Rothwell
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2022-06-22  5:54 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Mike Kravetz, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 477 bytes --]

Hi all,

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

mm/hugetlb.c: In function 'hugetlb_mask_last_page':
mm/hugetlb.c:6908:23: warning: unused variable 'hp_size' [-Wunused-variable]
 6908 |         unsigned long hp_size = huge_page_size(h);
      |                       ^~~~~~~

Introduced by commit

  76005bedbc32 ("hugetlb: do not update address in huge_pmd_unshare")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2022-05-25  5:54 Stephen Rothwell
  2022-05-25 10:57 ` Zi Yan
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2022-05-25  5:54 UTC (permalink / raw)
  To: Andrew Morton; +Cc: Zi Yan, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 1685 bytes --]

Hi all,

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

In file included from include/linux/kernel.h:26,
                 from include/linux/cpumask.h:10,
                 from include/linux/smp.h:13,
                 from include/linux/lockdep.h:14,
                 from include/linux/spinlock.h:62,
                 from include/linux/mmzone.h:8,
                 from include/linux/gfp.h:6,
                 from include/linux/mm.h:7,
                 from mm/page_alloc.c:19:
mm/page_alloc.c: In function 'split_free_page':
include/linux/minmax.h:20:35: warning: comparison of distinct pointer types lacks a cast
   20 |         (!!(sizeof((typeof(x) *)1 == (typeof(y) *)1)))
      |                                   ^~
include/linux/minmax.h:26:18: note: in expansion of macro '__typecheck'
   26 |                 (__typecheck(x, y) && __no_side_effects(x, y))
      |                  ^~~~~~~~~~~
include/linux/minmax.h:36:31: note: in expansion of macro '__safe_cmp'
   36 |         __builtin_choose_expr(__safe_cmp(x, y), \
      |                               ^~~~~~~~~~
include/linux/minmax.h:45:25: note: in expansion of macro '__careful_cmp'
   45 | #define min(x, y)       __careful_cmp(x, y, <)
      |                         ^~~~~~~~~~~~~
mm/page_alloc.c:1138:35: note: in expansion of macro 'min'
 1138 |                 free_page_order = min(pfn ? __ffs(pfn) : order, __fls(split_pfn_offset));
      |                                   ^~~

Introduced by commit

  29a8af92b874 ("mm: fix a potential infinite loop in start_isolate_page_range()")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2022-05-12  9:46 Stephen Rothwell
  2022-05-12 12:23 ` Johannes Weiner
  0 siblings, 1 reply; 66+ messages in thread
From: Stephen Rothwell @ 2022-05-12  9:46 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Johannes Weiner, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 963 bytes --]

Hi all,

After merging the mm tree, today's linux-next build (powerpc allnoconfig,
powerpc ppc44x_defconfig and arm64 defconfig) produced this warning:

WARNING: unmet direct dependencies detected for ARCH_ENABLE_MEMORY_HOTREMOVE
  Depends on [n]: MEMORY_HOTPLUG [=n]
  Selected by [y]:
  - PPC [=y]
Building: powerpc64 allnoconfig

WARNING: unmet direct dependencies detected for ARCH_ENABLE_MEMORY_HOTREMOVE
  Depends on [n]: MEMORY_HOTPLUG [=n]
  Selected by [y]:
  - PPC [=y]

WARNING: unmet direct dependencies detected for ARCH_ENABLE_MEMORY_HOTREMOVE
  Depends on [n]: MEMORY_HOTPLUG [=n]
  Selected by [y]:
  - ARM64 [=y]

WARNING: unmet direct dependencies detected for ARCH_ENABLE_MEMORY_HOTREMOVE
  Depends on [n]: MEMORY_HOTPLUG [=n]
  Selected by [y]:
  - ARM64 [=y]

Probably introduced by commit

  52bc69c65c03 ("mm: Kconfig: group swap, slab, hotplug and thp options into submenus")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2022-05-05 21:35 Stephen Rothwell
  2022-05-05 21:38 ` Stephen Rothwell
  2022-05-05 22:18 ` Matthew Wilcox
  0 siblings, 2 replies; 66+ messages in thread
From: Stephen Rothwell @ 2022-05-05 21:35 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Matthew Wilcox (Oracle),
	Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 430 bytes --]

Hi all,

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

mm/shmem.c:1704:7: error: variable 'folio' is used uninitialized whenever 'if' condition is true [-Werror,-Wsometimes-uninitialized]

Introduced by commit

  2b58b3f33ba2 ("mm/shmem: convert shmem_swapin_page() to shmem_swapin_folio()")

'folio' is used in the error path.
-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 66+ messages in thread
* linux-next: build warning after merge of the mm tree
@ 2022-04-28  7:44 Stephen Rothwell
  0 siblings, 0 replies; 66+ messages in thread
From: Stephen Rothwell @ 2022-04-28  7:44 UTC (permalink / raw)
  To: Andrew Morton
  Cc: Jiajian Ye, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 403 bytes --]

Hi all,

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

Documentation/vm/page_owner.rst:176: WARNING: Literal block expected; none found.

Introduced by commit

  0613ea580918 ("tools/vm/page_owner_sort.c: support sorting blocks by multiple keys")

or commit

  0996cc55c8e3 ("Merge branch 'linus' into mm-stable")

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

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

end of thread, other threads:[~2024-05-07  6:26 UTC | newest]

Thread overview: 66+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-25  1:25 linux-next: build warning after merge of the mm tree Stephen Rothwell
2024-03-26  2:21 ` Suren Baghdasaryan
  -- strict thread matches above, loose matches on Subject: below --
2024-05-07  6:26 Stephen Rothwell
2024-04-17  5:18 Stephen Rothwell
2024-04-17 15:57 ` Matthew Wilcox
2024-04-15  5:20 Stephen Rothwell
2024-04-15  5:45 ` Barry Song
2024-03-27 22:13 Stephen Rothwell
2024-03-28  1:59 ` Baoquan He
2024-03-28  4:29   ` Stephen Rothwell
2024-03-25  1:22 Stephen Rothwell
2024-03-25  8:56 ` David Hildenbrand
2024-03-13  4:07 Stephen Rothwell
2024-03-13  9:00 ` Uwe Kleine-König
2024-03-13 15:22   ` Masahiro Yamada
2024-03-13 21:11     ` Uwe Kleine-König
2024-01-02  5:40 Stephen Rothwell
2024-01-02 12:54 ` Kirill A. Shutemov
2023-12-04  4:54 Stephen Rothwell
2023-12-04 17:03 ` SeongJae Park
2023-11-28  2:33 Stephen Rothwell
2023-10-04  4:46 Stephen Rothwell
2023-09-25 23:27 Stephen Rothwell
2023-09-18  3:18 Stephen Rothwell
2023-09-12  5:20 Stephen Rothwell
2023-06-05  3:10 Stephen Rothwell
2023-06-05 14:57 ` Liam R. Howlett
2023-05-15 23:25 Stephen Rothwell
2023-05-08  1:19 Stephen Rothwell
2023-05-08 21:36 ` Nhat Pham
2023-03-20  3:47 Stephen Rothwell
2023-03-23  2:58 ` Stephen Rothwell
2023-03-23 19:38   ` Andrew Morton
2023-03-16  1:12 Stephen Rothwell
2023-03-01  0:36 Stephen Rothwell
2023-03-01  0:47 ` Suren Baghdasaryan
2023-03-01  2:29   ` Suren Baghdasaryan
2023-03-01  5:45     ` Stephen Rothwell
2023-01-17  3:51 Stephen Rothwell
2022-12-17 19:22 Stephen Rothwell
2022-11-10  7:36 Stephen Rothwell
2022-11-10  7:33 Stephen Rothwell
2022-11-10 16:27 ` Linus Torvalds
2022-11-10 20:20   ` Randy Dunlap
2022-11-10 20:43     ` Jonathan Corbet
2022-10-26  0:57 Stephen Rothwell
2022-10-26  1:13 ` Sergey Senozhatsky
2022-09-19  9:09 Stephen Rothwell
2022-09-19  9:30 ` Miaohe Lin
2022-07-21  9:55 Stephen Rothwell
2022-07-21 11:11 ` Zach O'Keefe
2022-07-18 10:28 Stephen Rothwell
2022-07-18 22:54 ` Andrew Morton
2022-06-22  5:54 Stephen Rothwell
2022-06-22  7:11 ` Stephen Rothwell
2022-06-22 16:39   ` Mike Kravetz
2022-06-22 18:49     ` Andrew Morton
2022-05-25  5:54 Stephen Rothwell
2022-05-25 10:57 ` Zi Yan
2022-05-25 17:36   ` Andrew Morton
2022-05-12  9:46 Stephen Rothwell
2022-05-12 12:23 ` Johannes Weiner
2022-05-05 21:35 Stephen Rothwell
2022-05-05 21:38 ` Stephen Rothwell
2022-05-05 22:18 ` Matthew Wilcox
2022-04-28  7:44 Stephen Rothwell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).