public inbox for kernel-janitors@vger.kernel.org
 help / color / mirror / Atom feed
* [signal:master 94/94] kernel/signal.c:3119:35: error: expected identifier before '(' token
@ 2012-09-21  7:19 Fengguang Wu
  2012-09-21 12:38 ` Al Viro
  0 siblings, 1 reply; 2+ messages in thread
From: Fengguang Wu @ 2012-09-21  7:19 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 master
head:   1320d2cc9be60744e2e0bbb73f8e2653a77bf59c
commit: 1320d2cc9be60744e2e0bbb73f8e2653a77bf59c [94/94] mips: sigaltstack conversion
config: mips-allnoconfig

All related error/warning messages:

kernel/signal.c: In function 'sys_sigaltstack':
kernel/signal.c:3119:35: error: expected identifier before '(' token
kernel/signal.c:3120:1: warning: control reaches end of non-void function [-Wreturn-type]

vim +3119 kernel/signal.c
  3113		return error;
  3114	}
  3115	
  3116	#ifdef __ARCH_WANT_SYS_SIGALTSTACK
  3117	SYSCALL_DEFINE2(sigaltstack, const stack_t __user *, uss, stack_t *, uoss)
  3118	{
> 3119		return do_sigaltstack(uss, uoss, current_user_stack_pointer());
  3120	}
  3121	#endif
  3122	

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

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

* Re: [signal:master 94/94] kernel/signal.c:3119:35: error: expected identifier before '(' token
  2012-09-21  7:19 [signal:master 94/94] kernel/signal.c:3119:35: error: expected identifier before '(' token Fengguang Wu
@ 2012-09-21 12:38 ` Al Viro
  0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2012-09-21 12:38 UTC (permalink / raw)
  To: kernel-janitors

On Fri, Sep 21, 2012 at 03:19:26PM +0800, Fengguang Wu wrote:
> Hi Al,
> 
> FYI, kernel build failed on
> 
> tree:   git://git.kernel.org/pub/scm/linux/kernel/git/viro/signal.git master
> head:   1320d2cc9be60744e2e0bbb73f8e2653a77bf59c
> commit: 1320d2cc9be60744e2e0bbb73f8e2653a77bf59c [94/94] mips: sigaltstack conversion
> config: mips-allnoconfig
> 
> All related error/warning messages:
> 
> kernel/signal.c: In function 'sys_sigaltstack':
> kernel/signal.c:3119:35: error: expected identifier before '(' token
> kernel/signal.c:3120:1: warning: control reaches end of non-void function [-Wreturn-type]

D'oh...  broken user_stack_pointer() definition -
#define foo(regs) ((regs)->regs[something])
is a bad idea...  Fixed.

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

end of thread, other threads:[~2012-09-21 12:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-21  7:19 [signal:master 94/94] kernel/signal.c:3119:35: error: expected identifier before '(' token Fengguang Wu
2012-09-21 12:38 ` Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox