Home
last modified time | relevance | path

Searched hist:f5179287b016cc61d6ad77b4a15fab9b6932df83 (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/arch/mips/include/asm/
H A Dsyscall.hdiff f5179287b016cc61d6ad77b4a15fab9b6932df83 Mon Feb 10 11:00:17 CST 2014 Ralf Baechle <ralf@linux-mips.org> MIPS: Fix randconfig build error.

CC arch/mips/kernel/ptrace.o
In file included from arch/mips/kernel/ptrace.c:42:0:
arch/mips/kernel/ptrace.c: In function ‘mips_get_syscall_arg’:
/home/ralf/src/linux/linux-mips/arch/mips/include/asm/syscall.h:60:1: error: control reaches end of non-void function [-Werror=return-type]
cc1: all warnings being treated as errors
make[2]: *** [arch/mips/kernel/ptrace.o] Error 1
make[1]: *** [arch/mips/kernel] Error 2
make: *** [arch/mips] Error 2

Fixed by marking the end of mips_get_syscall_arg() as unreachable.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>