public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [signal:arch-cris 1/2] arch/cris/arch-v10/kernel/process.c:147:2: error: implicit declaration of fun
Date: Mon, 15 Oct 2012 02:26:04 +0000	[thread overview]
Message-ID: <20121015022604.GG7203@localhost> (raw)

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

             reply	other threads:[~2012-10-15  2:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15  2:26 Fengguang Wu [this message]
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

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=20121015022604.GG7203@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox