public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* arch/powerpc/mm/hugetlbpage.c:317:4: error: passing argument 7 of 'parse_args' from incompatible poi
@ 2012-09-29  0:20 Fengguang Wu
  0 siblings, 0 replies; only message in thread
From: Fengguang Wu @ 2012-09-29  0:20 UTC (permalink / raw)
  To: kernel-janitors

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-09-29  0:20 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-29  0:20 arch/powerpc/mm/hugetlbpage.c:317:4: error: passing argument 7 of 'parse_args' from incompatible poi Fengguang Wu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox