From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: arch/powerpc/mm/hugetlbpage.c:317:4: error: passing argument 7 of 'parse_args' from incompatible poi
Date: Sat, 29 Sep 2012 00:20:39 +0000 [thread overview]
Message-ID: <20120929002039.GA6508@localhost> (raw)
Hi Andy,
FYI, kernel build failed on
commit: 84925a91b2fb2b0ee48736fac94e08ece70f4169 UBUNTU: SAUCE: add option to hand off all kernel parameters to init
config: powerpc-corenet64_smp_defconfig
All error/warnings:
arch/powerpc/mm/hugetlbpage.c: In function 'reserve_hugetlb_gpages':
arch/powerpc/mm/hugetlbpage.c:317:4: error: passing argument 7 of 'parse_args' from incompatible pointer type [-Werror]
include/linux/moduleparam.h:317:12: note: expected 'int (*)(char *, char *, const char *, int)' but argument is of type 'int (*)(char *, char *, const char *)'
cc1: all warnings being treated as errors
vim +317 arch/powerpc/mm/hugetlbpage.c
41151e77 (Becky Bruce 2011-06-28 311) static __initdata char cmdline[COMMAND_LINE_SIZE];
41151e77 (Becky Bruce 2011-06-28 312) phys_addr_t size, base;
41151e77 (Becky Bruce 2011-06-28 313) int i;
41151e77 (Becky Bruce 2011-06-28 314)
41151e77 (Becky Bruce 2011-06-28 315) strlcpy(cmdline, boot_command_line, COMMAND_LINE_SIZE);
026cee00 (Pawel Moll 2012-03-26 316) parse_args("hugetlb gpages", cmdline, NULL, 0, 0, 0,
026cee00 (Pawel Moll 2012-03-26 @317) &do_gpage_early_setup);
41151e77 (Becky Bruce 2011-06-28 318)
41151e77 (Becky Bruce 2011-06-28 319) /*
41151e77 (Becky Bruce 2011-06-28 320) * Walk gpage list in reverse, allocating larger page sizes first.
---
0-DAY kernel build testing backend Open Source Technology Centre
Fengguang Wu, Yuanhan Liu Intel Corporation
reply other threads:[~2012-09-29 0:20 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20120929002039.GA6508@localhost \
--to=fengguang.wu@intel.com \
--cc=kernel-janitors@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.