From: Ralf Baechle Date: Tue, 6 Nov 2012 13:27:19 +0000 (+0100) Subject: MIPS: Fix harmlessly missing else statement. X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~15^2~28 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ec9b5ac239ebfff333c25c4a7d34649cb29e4e4;p=pandora-kernel.git 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 --- Reading git-diff-tree failed