On Saturday 26 December 2009, Geert Uytterhoeven wrote:
<stdin>:1523:2: warning: #warning syscall recvmmsg not implemented so I started to wire up sys_recvmmsg. Then I noticed it's already accessible, through sys_socketcall, as m68k defines __ARCH_WANT_SYS_SOCKETCALL. So I guess this is a false positive?
Yes.
Surprisingly, several architectures have both defined __ARCH_WANT_SYS_SOCKETCALL and wired up sys_recvmmsg. Is this intentional?
It's also rather inconsistent with the last socket call that was added, sys_accept4. Some architectures that normally define socket calls (parisc, sh) are missing both accept4 and recvmmsg, while others that don't have recvmsg now get recvmmsg. In particular, i386 has recvmmsg now, which caused the warning that you saw. I guess that one should be removed, and maybe we need a better logic for determining which syscalls you actually want. Deriving it from asm-generic/unistd.h instead of arch/x86/include/asm/unistd_32.h is probably better, but would still give the wrong answer for multiplexed system calls like socketcall or ipc on existing architectures. Arnd -- To unsubscribe from this list: send the line "unsubscribe linux-m68k" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html