kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [signal:arch-blackfin 1/2] arch/blackfin/kernel/process.c:170:7: error: request for member 'pc' in s
@ 2012-10-15  2:25 Fengguang Wu
  2012-10-15  3:08 ` [signal:arch-blackfin 1/2] arch/blackfin/kernel/process.c:170:7: error: request for member 'pc' Al Viro
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-10-15  2:25 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-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

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

* Re: [signal:arch-blackfin 1/2] arch/blackfin/kernel/process.c:170:7: error: request for member 'pc'
  2012-10-15  2:25 [signal:arch-blackfin 1/2] arch/blackfin/kernel/process.c:170:7: error: request for member 'pc' in s Fengguang Wu
@ 2012-10-15  3:08 ` Al Viro
  0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2012-10-15  3:08 UTC (permalink / raw)
  To: kernel-janitors

On Mon, Oct 15, 2012 at 10:25:21AM +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-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

Stray debris, left over from moving kernel_thread() pt_regs initialization
into copy_thread().  That one should've been simply removed.  Done and
pushed...

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

end of thread, other threads:[~2012-10-15  3:08 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:25 [signal:arch-blackfin 1/2] arch/blackfin/kernel/process.c:170:7: error: request for member 'pc' in s Fengguang Wu
2012-10-15  3:08 ` [signal:arch-blackfin 1/2] arch/blackfin/kernel/process.c:170:7: error: request for member 'pc' 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).