lkml.org 
[lkml]   [2015]   [Jan]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build warnings after merge of the akpm-current tree
Hi Andrew,

After merging the akpm-current tree, today's linux-next build (powerpc
ppc64_defconfig) produced these warnings:

In file included from mm/slab_common.c:26:0:
mm/slab_common.c: In function 'kmem_cache_destroy':
mm/slab.h:259:30: warning: right-hand operand of comma expression has no effect [-Wunused-value]
for (iter = NULL, tmp = NULL, (root); 0; )
^
mm/slab_common.c:620:2: note: in expansion of macro 'for_each_memcg_cache_safe'
for_each_memcg_cache_safe(c, c2, s) {
^
mm/slab_common.c: In function 'memcg_accumulate_slabinfo':
mm/slab.h:257:18: warning: right-hand operand of comma expression has no effect [-Wunused-value]
for (iter = NULL, (root); 0; )
^
mm/slab_common.c:959:2: note: in expansion of macro 'for_each_memcg_cache'
for_each_memcg_cache(c, s) {
^
In file included from mm/slub.c:19:0:
mm/slub.c: In function '__kmem_cache_alias':
mm/slab.h:257:18: warning: right-hand operand of comma expression has no effect [-Wunused-value]
for (iter = NULL, (root); 0; )
^
mm/slub.c:3652:3: note: in expansion of macro 'for_each_memcg_cache'
for_each_memcg_cache(c, s) {
^

Introduced by commit 3019931a000b ("slab: link memcg caches of the same
kind into a list").

--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2015-01-27 09:21    [W:0.076 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site