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-blackfin 1/2] arch/blackfin/kernel/process.c:170:7: error: request for member 'pc' in s
Date: Mon, 15 Oct 2012 02:25:21 +0000	[thread overview]
Message-ID: <20121015022521.GF7203@localhost> (raw)

Hi Al,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal.git arch-blackfin
head:   9b34bed403644c57e9beefc36a0b353255c696f1
commit: 1ac0bc7b1705368131dc176f4a094994ea45e478 [1/2] blackfin: convert kernel_thread() and kernel_execve() to generic ones
config: blackfin-BF533-EZKIT_defconfig # make ARCH=blackfin BF533-EZKIT_defconfig

All error/warnings:

arch/blackfin/kernel/process.c: In function 'copy_thread':
arch/blackfin/kernel/process.c:170:7: error: request for member 'pc' in something not a structure or union
arch/blackfin/kernel/process.c:170:28: error: 'kernel_thread_helper' undeclared (first use in this function)
arch/blackfin/kernel/process.c:170:28: note: each undeclared identifier is reported only once for each function it appears in

vim +170 arch/blackfin/kernel/process.c

1394f032 Bryan Wu 2007-05-06  164  	childregs = (struct pt_regs *) (task_stack_page(p) + THREAD_SIZE) - 1;
1ac0bc7b Al Viro  2012-10-13  165  	v = ((unsigned long *)childregs) - 2;
1ac0bc7b Al Viro  2012-10-13  166  	if (unlikely(!regs)) {
1ac0bc7b Al Viro  2012-10-13  167  		memset(childregs, 0, sizeof(struct pt_regs));
1ac0bc7b Al Viro  2012-10-13  168  		v[0] = usp;
1ac0bc7b Al Viro  2012-10-13  169  		v[1] = topstk;
1ac0bc7b Al Viro  2012-10-13 @170  		regs.pc = (unsigned long)kernel_thread_helper;
1ac0bc7b Al Viro  2012-10-13  171  		childregs->orig_p0 = -1;
1ac0bc7b Al Viro  2012-10-13  172  		childregs->ipend = 0x8000;
1ac0bc7b Al Viro  2012-10-13  173  		__asm__ __volatile__("%0 = syscfg;":"Ú"(childregs->syscfg):);

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-15  2:25 Fengguang Wu [this message]
2012-10-15  3:08 ` [signal:arch-blackfin 1/2] arch/blackfin/kernel/process.c:170:7: error: request for member 'pc' 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=20121015022521.GF7203@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.