Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63981a40 authored by Ralf Baechle's avatar Ralf Baechle
Browse files

MIPS: compat: Return same error ENOSYS as native for invalid operation.



The pains for multiplexed syscalls.

Noticed by Al Viro <viro@zeniv.linux.org.uk>.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent f6161aa1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -171,7 +171,7 @@ SYSCALL_DEFINE6(32_ipc, u32, call, long, first, long, second, long, third,
		err = compat_sys_shmctl(first, second, compat_ptr(ptr));
		break;
	default:
		err = -EINVAL;
		err = -ENOSYS;
		break;
	}