From: kbuild test robot <fengguang.wu@intel.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: Johannes Weiner <hannes@cmpxchg.org>,
Christoph Lameter <cl@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>,
kbuild-all@01.org
Subject: [mmotm:master 80/230] mm/slab.c:1308:4: warning: passing argument 2 of 'slab_set_debugobj_lock_classes_node' makes integer from pointer without a cast
Date: Fri, 20 Jun 2014 10:26:23 +0800 [thread overview]
Message-ID: <53a39bcf.VqwYoYRlP0B26+5N%fengguang.wu@intel.com> (raw)
tree: git://git.cmpxchg.org/linux-mmotm.git master
head: df25ba7db0775d87018e2cd92f26b9b087093840
commit: 21d9944b94ac764039a4bd6f0bbb7e4243cf0d30 [80/230] slab-use-get_node-and-kmem_cache_node-functions-fix-2
config: make ARCH=sh titan_defconfig
All warnings:
mm/slab.c: In function 'cpuup_prepare':
>> mm/slab.c:1308:4: warning: passing argument 2 of 'slab_set_debugobj_lock_classes_node' makes integer from pointer without a cast [enabled by default]
mm/slab.c:593:13: note: expected 'int' but argument is of type 'struct kmem_cache_node *'
vim +/slab_set_debugobj_lock_classes_node +1308 mm/slab.c
1292 * We are serialised from CPU_DEAD or
1293 * CPU_UP_CANCELLED by the cpucontrol lock
1294 */
1295 n->shared = shared;
1296 shared = NULL;
1297 }
1298 #ifdef CONFIG_NUMA
1299 if (!n->alien) {
1300 n->alien = alien;
1301 alien = NULL;
1302 }
1303 #endif
1304 spin_unlock_irq(&n->list_lock);
1305 kfree(shared);
1306 free_alien_cache(alien);
1307 if (cachep->flags & SLAB_DEBUG_OBJECTS)
> 1308 slab_set_debugobj_lock_classes_node(cachep, n);
1309 else if (!OFF_SLAB(cachep) &&
1310 !(cachep->flags & SLAB_DESTROY_BY_RCU))
1311 on_slab_lock_classes_node(cachep, n);
1312 }
1313 init_node_lock_keys(node);
1314
1315 return 0;
1316 bad:
---
0-DAY kernel build testing backend Open Source Technology Center
http://lists.01.org/mailman/listinfo/kbuild Intel Corporation
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next reply other threads:[~2014-06-20 2:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-20 2:26 kbuild test robot [this message]
2014-06-20 21:09 ` Andrew Morton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=53a39bcf.VqwYoYRlP0B26+5N%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=akpm@linux-foundation.org \
--cc=cl@linux-foundation.org \
--cc=hannes@cmpxchg.org \
--cc=kbuild-all@01.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox