summaryrefslogtreecommitdiffstats
path: root/arch/mips/netlogic/common
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2012-11-06 14:27:19 +0100
committerRalf Baechle <ralf@linux-mips.org>2012-12-12 16:52:07 +0100
commit9ec9b5ac239ebfff333c25c4a7d34649cb29e4e4 (patch)
treeadd188e2bf10446cc998cdc7b768c3aa7945ff95 /arch/mips/netlogic/common
parentMIPS: Remove leftovers from the IRIX binary compat code. (diff)
downloadlinux-9ec9b5ac239ebfff333c25c4a7d34649cb29e4e4.tar.xz
linux-9ec9b5ac239ebfff333c25c4a7d34649cb29e4e4.zip
MIPS: Fix harmlessly missing else statement.
The actual bug is a missing else statement - but really this should be expressed using a switch() statement. Found by Al Viro who writes "the funny thing is, it *does* work only because r2 is syscall number and syscall number around 512 => return value being ENOSYS and not one of ERESTART... so we really can't hit the first if and emerge from it with ERESTART_RESTARTBLOCK. still wrong to write it that way..." Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/netlogic/common')
0 files changed, 0 insertions, 0 deletions