linux-next: build warnings after merge of the akpm-current tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx

Attachment: pgpGPKwjMxang.pgp
Description: OpenPGP digital signature


[Index of Archives]     [Linux Kernel]     [Linux USB Development]     [Yosemite News]     [Linux SCSI]

  Powered by Linux