All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: kernel-janitors@vger.kernel.org
Subject: [signal:arch-avr32 1/2] arch/avr32/kernel/process.c:312: error: 'chilregs' undeclared
Date: Mon, 15 Oct 2012 07:54:35 +0000	[thread overview]
Message-ID: <20121015075435.GB31880@localhost> (raw)

Hi Al,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal.git arch-avr32
head:   5c6f3d0025bfb03370912475c01d090c41c785d6
commit: cd8962829fa4942151a26dc51fd5d5863fecbb3e [1/2] avr32: switch to generic kernel_thread()/kernel_execve()
config: avr32-atngw100_defconfig # make ARCH=avr32 atngw100_defconfig

All error/warnings:

In file included from include/linux/sched.h:11,
                 from arch/avr32/kernel/process.c:8:
arch/avr32/include/asm/param.h:6:1: warning: "HZ" redefined
In file included from arch/avr32/include/asm/param.h:4,
                 from include/linux/sched.h:11,
                 from arch/avr32/kernel/process.c:8:
arch/avr32/include/uapi/asm/param.h:6:1: warning: this is the location of the previous definition
arch/avr32/kernel/process.c: In function 'copy_thread':
arch/avr32/kernel/process.c:310: warning: assignment makes integer from pointer without a cast
arch/avr32/kernel/process.c:312: error: 'chilregs' undeclared (first use in this function)
arch/avr32/kernel/process.c:312: error: (Each undeclared identifier is reported only once
arch/avr32/kernel/process.c:312: error: for each function it appears in.)

vim +312 arch/avr32/kernel/process.c

cd896282 Al Viro            2012-10-15  306  	if (unlikely(!regs)) {
cd896282 Al Viro            2012-10-15  307  		memset(childregs, 0, sizeof(struct pt_regs));
cd896282 Al Viro            2012-10-15  308  		p->thread.cpu_context.r0 = arg;
cd896282 Al Viro            2012-10-15  309  		p->thread.cpu_context.r1 = usp; /* fn */
cd896282 Al Viro            2012-10-15  310  		p->thread.cpu_context.r2 = syscall_return;
cd896282 Al Viro            2012-10-15  311  		p->thread.cpu_context.pc = (unsigned long)ret_from_kernel_thread;
cd896282 Al Viro            2012-10-15 @312  		chilregs->sr = MODE_SUPERVISOR;
cd896282 Al Viro            2012-10-15  313  	} else {
cd896282 Al Viro            2012-10-15  314  		*childregs = *regs;
5f97f7f9 Haavard Skinnemoen 2006-09-25  315  		childregs->sp = usp;

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

                 reply	other threads:[~2012-10-15  7:54 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=20121015075435.GB31880@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.