* linux-next: build warning after merge of the slab tree
@ 2011-03-14 9:02 Stephen Rothwell
2011-03-15 17:45 ` Christoph Lameter
0 siblings, 1 reply; 9+ messages in thread
From: Stephen Rothwell @ 2011-03-14 9:02 UTC (permalink / raw)
To: Pekka Enberg, Christoph Lameter; +Cc: linux-next, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 409 bytes --]
Hi all,
After merging the slab tree, today's linux-next build (powerpc
allnoconfig) produced this warning:
mm/slub.c: In function 'slab_free':
mm/slub.c:2124: warning: label 'redo' defined but not used
Introduced by commit 8a5ec0ba42c4 ("Lockless (and preemptless) fastpaths
for slub").
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: linux-next: build warning after merge of the slab tree
2011-03-14 9:02 Stephen Rothwell
@ 2011-03-15 17:45 ` Christoph Lameter
0 siblings, 0 replies; 9+ messages in thread
From: Christoph Lameter @ 2011-03-15 17:45 UTC (permalink / raw)
To: Stephen Rothwell; +Cc: Pekka Enberg, linux-next, linux-kernel
On Mon, 14 Mar 2011, Stephen Rothwell wrote:
> mm/slub.c: In function 'slab_free':
> mm/slub.c:2124: warning: label 'redo' defined but not used
>
> Introduced by commit 8a5ec0ba42c4 ("Lockless (and preemptless) fastpaths
> for slub").
---
Subject: slub: Dont define useless label in the !CONFIG_CMPXCHG_LOCAL case
The redo label needs #ifdeffery.
Signed-off-by: Christoph Lameter <cl@linux.com>
mm/slub.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
Index: linux-next/mm/slub.c
===================================================================
--- linux-next.orig/mm/slub.c 2011-03-15 12:41:41.000000000 -0500
+++ linux-next/mm/slub.c 2011-03-15 12:43:06.000000000 -0500
@@ -2119,9 +2119,11 @@ static __always_inline void slab_free(st
#ifndef CONFIG_CMPXCHG_LOCAL
local_irq_save(flags);
-#endif
+#else
redo:
+#endif
+
/*
* Determine the currently cpus per cpu slab.
* The cpu may change afterward. However that does not matter since
^ permalink raw reply [flat|nested] 9+ messages in thread
* linux-next: build warning after merge of the slab tree
@ 2012-07-12 5:51 Stephen Rothwell
0 siblings, 0 replies; 9+ messages in thread
From: Stephen Rothwell @ 2012-07-12 5:51 UTC (permalink / raw)
To: Pekka Enberg, Christoph Lameter; +Cc: linux-next, linux-kernel, Glauber Costa
[-- Attachment #1: Type: text/plain, Size: 505 bytes --]
Hi all,
After merging the slab tree, today's linux-next build (i386_defconfig)
produced this warning:
mm/slab_common.c: In function 'kmem_cache_create':
mm/slab_common.c:101:1: warning: label 'oops' defined but not used [-Wunused-label]
Introduced by commit 20cea9683ecc ("mm, sl[aou]b: Move kmem_cache_create
mutex handling to common code") from the slab tree. The label is only
used when CONFIG_DEBUG_VM is defined.
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* linux-next: build warning after merge of the slab tree
@ 2024-07-15 7:06 Stephen Rothwell
2024-07-15 8:46 ` Vlastimil Babka
0 siblings, 1 reply; 9+ messages in thread
From: Stephen Rothwell @ 2024-07-15 7:06 UTC (permalink / raw)
To: Vlastimil Babka
Cc: Alex Shi (Tencent), Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 355 bytes --]
Hi all,
After merging the slab tree, today's linux-next build (htmldocs) produced
this warning:
include/linux/mm_types.h:399: warning: Function parameter or struct member '_unused_slab_obj_ext' not described in 'folio'
Introduced by commit
05d5996d4b9b ("mm/memcg: alignment memcg_data define condition")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: linux-next: build warning after merge of the slab tree
2024-07-15 7:06 linux-next: build warning after merge of the slab tree Stephen Rothwell
@ 2024-07-15 8:46 ` Vlastimil Babka
0 siblings, 0 replies; 9+ messages in thread
From: Vlastimil Babka @ 2024-07-15 8:46 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Alex Shi (Tencent), Linux Kernel Mailing List,
Linux Next Mailing List
On 7/15/24 9:06 AM, Stephen Rothwell wrote:
> Hi all,
>
> After merging the slab tree, today's linux-next build (htmldocs) produced
> this warning:
>
> include/linux/mm_types.h:399: warning: Function parameter or struct member '_unused_slab_obj_ext' not described in 'folio'
>
> Introduced by commit
>
> 05d5996d4b9b ("mm/memcg: alignment memcg_data define condition")
Added, the htmldocs description, thanks.
^ permalink raw reply [flat|nested] 9+ messages in thread
* linux-next: build warning after merge of the slab tree
@ 2024-09-06 8:33 Stephen Rothwell
2024-09-06 9:27 ` Vlastimil Babka
0 siblings, 1 reply; 9+ messages in thread
From: Stephen Rothwell @ 2024-09-06 8:33 UTC (permalink / raw)
To: Vlastimil Babka
Cc: Christian Brauner, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 365 bytes --]
Hi all,
After merging the slab tree, today's linux-next build (htmldocs) produced
this warning:
include/linux/slab.h:244: warning: Cannot understand * @align: The required alignment for the objects.
on line 244 - I thought it was a doc line
Introduced by commit
0c64b97ac116 ("slab: add struct kmem_cache_args")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: linux-next: build warning after merge of the slab tree
2024-09-06 8:33 Stephen Rothwell
@ 2024-09-06 9:27 ` Vlastimil Babka
0 siblings, 0 replies; 9+ messages in thread
From: Vlastimil Babka @ 2024-09-06 9:27 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Christian Brauner, Linux Kernel Mailing List,
Linux Next Mailing List
On 9/6/24 10:33, Stephen Rothwell wrote:
> Hi all,
>
> After merging the slab tree, today's linux-next build (htmldocs) produced
> this warning:
>
> include/linux/slab.h:244: warning: Cannot understand * @align: The required alignment for the objects.
> on line 244 - I thought it was a doc line
>
> Introduced by commit
>
> 0c64b97ac116 ("slab: add struct kmem_cache_args")
Thanks, fixed it up:
/**
+ * struct kmem_cache_args - Less common arguments for kmem_cache_create()
* @align: The required alignment for the objects.
^ permalink raw reply [flat|nested] 9+ messages in thread
* linux-next: build warning after merge of the slab tree
@ 2026-01-14 4:13 Stephen Rothwell
2026-01-14 9:51 ` Vlastimil Babka
0 siblings, 1 reply; 9+ messages in thread
From: Stephen Rothwell @ 2026-01-14 4:13 UTC (permalink / raw)
To: Vlastimil Babka
Cc: Harry Yoo, Linux Kernel Mailing List, Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 313 bytes --]
Hi all,
After merging the slab tree, today's linux-next build (htmldocs) produced
this warning:
WARNING: mm/slub.c:7088 function parameter 'objp' not described in 'ksize'
Introduced by commit
1e8eb4117f27 ("mm/slab: move [__]ksize and slab_ksize() to mm/slub.c")
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: linux-next: build warning after merge of the slab tree
2026-01-14 4:13 Stephen Rothwell
@ 2026-01-14 9:51 ` Vlastimil Babka
0 siblings, 0 replies; 9+ messages in thread
From: Vlastimil Babka @ 2026-01-14 9:51 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Harry Yoo, Linux Kernel Mailing List, Linux Next Mailing List
On 1/14/26 05:13, Stephen Rothwell wrote:
> Hi all,
>
> After merging the slab tree, today's linux-next build (htmldocs) produced
> this warning:
>
> WARNING: mm/slub.c:7088 function parameter 'objp' not described in 'ksize'
>
> Introduced by commit
>
> 1e8eb4117f27 ("mm/slab: move [__]ksize and slab_ksize() to mm/slub.c")
>
Fixed, thanks.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2026-01-14 9:51 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-15 7:06 linux-next: build warning after merge of the slab tree Stephen Rothwell
2024-07-15 8:46 ` Vlastimil Babka
-- strict thread matches above, loose matches on Subject: below --
2026-01-14 4:13 Stephen Rothwell
2026-01-14 9:51 ` Vlastimil Babka
2024-09-06 8:33 Stephen Rothwell
2024-09-06 9:27 ` Vlastimil Babka
2012-07-12 5:51 Stephen Rothwell
2011-03-14 9:02 Stephen Rothwell
2011-03-15 17:45 ` Christoph Lameter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox