kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [signal:arch-cris 1/2] arch/cris/arch-v10/kernel/process.c:147:2: error: implicit declaration of fun
@ 2012-10-15  2:26 Fengguang Wu
  2012-10-15  3:13 ` [signal:arch-cris 1/2] arch/cris/arch-v10/kernel/process.c:147:2: error: implicit declaration of Al Viro
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-10-15  2:26 UTC (permalink / raw)
  To: kernel-janitors

Hi Al,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal.git arch-cris
head:   b390891871081c499675f874eb08485c82959f00
commit: 40be7b4e5cfa2eec0a7f44f6edfdcf6802111bb1 [1/2] cris: switch to generic kernel_thread()
config: cris-etrax-100lx_v2_defconfig # make ARCH=cris etrax-100lx_v2_defconfig

All error/warnings:

arch/cris/arch-v10/kernel/process.c: In function 'sys_fork':
arch/cris/arch-v10/kernel/process.c:147:2: error: implicit declaration of function 'current_pt_regs' [-Werror=implicit-function-declaration]
arch/cris/arch-v10/kernel/process.c:147:2: warning: passing argument 3 of 'do_fork' makes pointer from integer without a cast [enabled by default]
In file included from arch/cris/arch-v10/kernel/process.c:13:0:
include/linux/sched.h:2293:13: note: expected 'struct pt_regs *' but argument is of type 'int'
arch/cris/arch-v10/kernel/process.c: In function 'sys_clone':
arch/cris/arch-v10/kernel/process.c:157:2: warning: passing argument 3 of 'do_fork' makes pointer from integer without a cast [enabled by default]
In file included from arch/cris/arch-v10/kernel/process.c:13:0:
include/linux/sched.h:2293:13: note: expected 'struct pt_regs *' but argument is of type 'int'
arch/cris/arch-v10/kernel/process.c: In function 'sys_vfork':
arch/cris/arch-v10/kernel/process.c:166:9: warning: passing argument 3 of 'do_fork' makes pointer from integer without a cast [enabled by default]
In file included from arch/cris/arch-v10/kernel/process.c:13:0:
include/linux/sched.h:2293:13: note: expected 'struct pt_regs *' but argument is of type 'int'
cc1: some warnings being treated as errors

vim +147 arch/cris/arch-v10/kernel/process.c

40be7b4e Al Viro        2012-10-03  145  asmlinkage int sys_fork(void)
^1da177e Linus Torvalds 2005-04-16  146  {
40be7b4e Al Viro        2012-10-03 @147  	return do_fork(SIGCHLD, rdusp(), current_pt_regs(), 0, NULL, NULL);
^1da177e Linus Torvalds 2005-04-16  148  }

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [signal:arch-cris 1/2] arch/cris/arch-v10/kernel/process.c:147:2: error: implicit declaration of
  2012-10-15  2:26 [signal:arch-cris 1/2] arch/cris/arch-v10/kernel/process.c:147:2: error: implicit declaration of fun Fengguang Wu
@ 2012-10-15  3:13 ` Al Viro
  0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2012-10-15  3:13 UTC (permalink / raw)
  To: kernel-janitors

On Mon, Oct 15, 2012 at 10:26:04AM +0800, Fengguang Wu wrote:
> Hi Al,
> 
> FYI, kernel build failed on
> 
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal.git arch-cris
> head:   b390891871081c499675f874eb08485c82959f00
> commit: 40be7b4e5cfa2eec0a7f44f6edfdcf6802111bb1 [1/2] cris: switch to generic kernel_thread()
> config: cris-etrax-100lx_v2_defconfig # make ARCH=cris etrax-100lx_v2_defconfig
Missing include.  Fixed and pushed.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-10-15  3:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-15  2:26 [signal:arch-cris 1/2] arch/cris/arch-v10/kernel/process.c:147:2: error: implicit declaration of fun Fengguang Wu
2012-10-15  3:13 ` [signal:arch-cris 1/2] arch/cris/arch-v10/kernel/process.c:147:2: error: implicit declaration of Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).