From: Valdis.Kletnieks@vt.edu
To: Andrew Morton <akpm@linux-foundation.org>,
Lee Schermerhorn <lee.schermerhorn@hp.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: mmotm 2010-04-22-16-38 uploaded
Date: Thu, 22 Apr 2010 21:57:59 -0400 [thread overview]
Message-ID: <31157.1271987879@localhost> (raw)
In-Reply-To: Your message of "Thu, 22 Apr 2010 16:38:55 PDT." <201004230006.o3N06DNO019315@imap1.linux-foundation.org>
[-- Attachment #1: Type: text/plain, Size: 8199 bytes --]
On Thu, 22 Apr 2010 16:38:55 PDT, akpm@linux-foundation.org said:
> The mm-of-the-moment snapshot 2010-04-22-16-38 has been uploaded to
>
> http://userweb.kernel.org/~akpm/mmotm/
Found this in numa-introduce-numa_mem_id-effective-local-memory-node-id.patch:
+#ifndef cpu_to_mem
+#define cpu_to_mem(cpu) (void)(cpu),0)
+#endif
The resulting paren mismatch causes an error cascade in 2 other patches:
numa-in-kernel-profiling-use-cpu_to_mem-for-per-cpu-allocations.patch
causes build errors:
CC kernel/profile.o
kernel/profile.c: In function âprofile_cpu_callbackâ:
kernel/profile.c:366: error: void value not ignored as it ought to be
kernel/profile.c:366: warning: left-hand operand of comma expression has no effect
kernel/profile.c:366: warning: statement with no effect
kernel/profile.c:366: error: expected â;â before â)â token
kernel/profile.c:366: error: expected statement before â)â token
kernel/profile.c: In function âcreate_hash_tablesâ:
kernel/profile.c:568: error: void value not ignored as it ought to be
kernel/profile.c:568: error: expected identifier or â(â before numeric constant
make[1]: *** [kernel/profile.o] Error 1
make: *** [kernel] Error 2
numa-slab-use-numa_mem_id-for-slab-local-memory-node.patch causes a whole
raft of issues:
CC mm/slab.o
mm/slab.c: In function âcpuup_canceledâ:
mm/slab.c:1156: error: void value not ignored as it ought to be
mm/slab.c:1156: error: expected identifier or â(â before numeric constant
mm/slab.c: In function âcpuup_prepareâ:
mm/slab.c:1221: error: void value not ignored as it ought to be
mm/slab.c:1221: error: expected identifier or â(â before numeric constant
mm/slab.c: In function âkmem_cache_initâ:
mm/slab.c:1506: error: ânuma_nodeâ undeclared (first use in this function)
mm/slab.c:1506: error: (Each undeclared identifier is reported only once
mm/slab.c:1506: error: for each function it appears in.)
mm/slab.c:1506: warning: type defaults to âintâ in declaration of âpscr_ret__â
mm/slab.c:1506: warning: type defaults to âintâ in declaration of âtype nameâ
mm/slab.c:1506: warning: cast from pointer to integer of different size
mm/slab.c:1506: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:1506: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:1506: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:1506: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c: In function âsetup_cpu_cacheâ:
mm/slab.c:2148: error: ânuma_nodeâ undeclared (first use in this function)
mm/slab.c:2148: warning: type defaults to âintâ in declaration of âpscr_ret__â
mm/slab.c:2148: warning: type defaults to âintâ in declaration of âtype nameâ
mm/slab.c:2148: warning: cast from pointer to integer of different size
mm/slab.c:2148: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:2148: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:2148: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:2148: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c: In function âdo_drainâ:
mm/slab.c:2506: error: ânuma_nodeâ undeclared (first use in this function)
mm/slab.c:2506: warning: type defaults to âintâ in declaration of âpscr_ret__â
mm/slab.c:2506: warning: type defaults to âintâ in declaration of âtype nameâ
mm/slab.c:2506: warning: cast from pointer to integer of different size
mm/slab.c:2506: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:2506: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:2506: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:2506: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c: In function âcache_alloc_refillâ:
mm/slab.c:3039: error: ânuma_nodeâ undeclared (first use in this function)
mm/slab.c:3039: warning: type defaults to âintâ in declaration of âpscr_ret__â
mm/slab.c:3039: warning: type defaults to âintâ in declaration of âtype nameâ
mm/slab.c:3039: warning: cast from pointer to integer of different size
mm/slab.c:3039: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:3039: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:3039: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:3039: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c: In function âcache_flusharrayâ:
mm/slab.c:3575: error: ânuma_nodeâ undeclared (first use in this function)
mm/slab.c:3575: warning: type defaults to âintâ in declaration of âpscr_ret__â
mm/slab.c:3575: warning: type defaults to âintâ in declaration of âtype nameâ
mm/slab.c:3575: warning: cast from pointer to integer of different size
mm/slab.c:3575: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:3575: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:3575: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:3575: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c: In function âdo_tune_cpucacheâ:
mm/slab.c:4009: error: invalid use of void expression
mm/slab.c:4009: error: too few arguments to function âalloc_arraycacheâ
mm/slab.c:4009: warning: left-hand operand of comma expression has no effect
mm/slab.c:4010: warning: left-hand operand of comma expression has no effect
mm/slab.c:4010: warning: left-hand operand of comma expression has no effect
mm/slab.c:4010: warning: statement with no effect
mm/slab.c:4010: error: expected â;â before â)â token
mm/slab.c:4010: error: expected statement before â)â token
mm/slab.c:4031: error: expected â]â before â)â token
mm/slab.c:4031: warning: passing argument 1 of âspin_lock_irqâ from incompatible pointer type
include/linux/spinlock.h:307: note: expected âstruct spinlock_t *â but argument is of type âstruct kmem_list3 **â
mm/slab.c:4031: error: expected â;â before â]â token
mm/slab.c:4031: error: expected statement before â]â token
mm/slab.c:4031: error: expected expression before â->â token
mm/slab.c:4031: error: expected statement before â)â token
mm/slab.c:4032: error: invalid use of void expression
mm/slab.c:4032: error: too many arguments to function âfree_blockâ
mm/slab.c:4032: error: expected â;â before â)â token
mm/slab.c:4032: error: expected statement before â)â token
mm/slab.c:4033: error: expected â]â before â)â token
mm/slab.c:4033: warning: passing argument 1 of âspin_unlock_irqâ from incompatible pointer type
include/linux/spinlock.h:332: note: expected âstruct spinlock_t *â but argument is of type âstruct kmem_list3 **â
mm/slab.c:4033: error: expected â;â before â]â token
mm/slab.c:4033: error: expected statement before â]â token
mm/slab.c:4033: error: expected expression before â->â token
mm/slab.c:4033: error: expected statement before â)â token
mm/slab.c: In function âcache_reapâ:
mm/slab.c:4139: error: ânuma_nodeâ undeclared (first use in this function)
mm/slab.c:4139: warning: type defaults to âintâ in declaration of âpscr_ret__â
mm/slab.c:4139: warning: type defaults to âintâ in declaration of âtype nameâ
mm/slab.c:4139: warning: cast from pointer to integer of different size
mm/slab.c:4139: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:4139: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:4139: warning: type defaults to âintâ in declaration of âpfo_ret__â
mm/slab.c:4139: warning: type defaults to âintâ in declaration of âpfo_ret__â
make[1]: *** [mm/slab.o] Error 1
make: *** [mm] Error 2
[-- Attachment #2: Type: application/pgp-signature, Size: 227 bytes --]
next prev parent reply other threads:[~2010-04-23 1:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-22 23:38 mmotm 2010-04-22-16-38 uploaded akpm
2010-04-23 0:46 ` KAMEZAWA Hiroyuki
2010-04-23 1:40 ` Valdis.Kletnieks
2010-04-23 1:57 ` Valdis.Kletnieks [this message]
2010-04-26 21:41 ` Lee Schermerhorn
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=31157.1271987879@localhost \
--to=valdis.kletnieks@vt.edu \
--cc=akpm@linux-foundation.org \
--cc=lee.schermerhorn@hp.com \
--cc=linux-kernel@vger.kernel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.