MIPS: Fix randconfig build error.
authorRalf Baechle <ralf@linux-mips.org>
Mon, 10 Feb 2014 17:00:17 +0000 (18:00 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Thu, 6 Mar 2014 19:52:28 +0000 (20:52 +0100)
commitf5179287b016cc61d6ad77b4a15fab9b6932df83
tree56f2f603e7573895ce7a1c1d262ba51853abd12f
parent0414855fdc4a40da05221fc6062cccbc0c30f169
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>
arch/mips/include/asm/syscall.h