linux-next: build failure after merge of the final tree (tip treerelated)

From: Stephen Rothwell
Date: Wed Jun 23 2010 - 12:31:32 EST


Hi all,

After merging the final tree, today's linux-next build (sh allnoconfig -
in fact, all the sh configs) failed like this:

cc1: warnings being treated as errors
In file included from include/linux/ftrace_event.h:8,
from include/trace/syscall.h:6,
from include/linux/syscalls.h:75,
from arch/sh/kernel/sys_sh32.c:9:
include/linux/perf_event.h:937: error: 'struct regs' declared inside parameter list
include/linux/perf_event.h:937: error: its scope is only this definition or declaration, which is probably not what you want
include/linux/perf_event.h: In function 'perf_fetch_caller_regs':
include/linux/perf_event.h:952: error: passing argument 1 of 'perf_arch_fetch_caller_regs' from incompatible pointer type

This started after next-20100618.

Caused by commit b0f82b81fe6bbcf78d478071f33e44554726bc81 ("perf: Drop
the skip argument from perf_arch_fetch_regs_caller") which contained a
typo in the type of the first argument to perf_arch_fetch_caller_regs()
in the case that the architecture did not define
perf_arch_fetch_caller_regs.

--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
http://www.canb.auug.org.au/~sfr/

Attachment: pgp00000.pgp
Description: PGP signature