Re: [RFC PATCH v2 5/5] powerpc/syscalls: Allow none instead of sys_ni_syscall

2019-01-17 Thread Firoz Khan
Hi Arnd, On Wed, 16 Jan 2019 at 19:23, Arnd Bergmann wrote: > > On Wed, Jan 16, 2019 at 2:27 PM Michael Ellerman wrote: > > @@ -24,28 +24,28 @@ > > 14 common mknod sys_mknod > > 15 common chmod sys_chmod > > 16 common lchown

Re: [RFC PATCH v2 5/5] powerpc/syscalls: Allow none instead of sys_ni_syscall

2019-01-17 Thread Arnd Bergmann
On Thu, Jan 17, 2019 at 11:35 AM Michael Ellerman wrote: > > Hi Arnd, > > Arnd Bergmann writes: > > On Wed, Jan 16, 2019 at 2:27 PM Michael Ellerman > > wrote: > >> > >> sys_ni_syscall is the "not-implemented" syscall syscall, which just > >> returns -ENOSYS. > >> > >> But unless you know that

Re: [RFC PATCH v2 5/5] powerpc/syscalls: Allow none instead of sys_ni_syscall

2019-01-17 Thread Michael Ellerman
Hi Arnd, Arnd Bergmann writes: > On Wed, Jan 16, 2019 at 2:27 PM Michael Ellerman wrote: >> >> sys_ni_syscall is the "not-implemented" syscall syscall, which just >> returns -ENOSYS. >> >> But unless you know that it's not obvious what it does, and even if >> you do know what it means it doesn't

Re: [RFC PATCH v2 5/5] powerpc/syscalls: Allow none instead of sys_ni_syscall

2019-01-16 Thread Arnd Bergmann
On Wed, Jan 16, 2019 at 2:27 PM Michael Ellerman wrote: > > sys_ni_syscall is the "not-implemented" syscall syscall, which just > returns -ENOSYS. > > But unless you know that it's not obvious what it does, and even if > you do know what it means it doesn't stand out that well from other > real sy

[RFC PATCH v2 5/5] powerpc/syscalls: Allow none instead of sys_ni_syscall

2019-01-16 Thread Michael Ellerman
sys_ni_syscall is the "not-implemented" syscall syscall, which just returns -ENOSYS. But unless you know that it's not obvious what it does, and even if you do know what it means it doesn't stand out that well from other real syscalls. So teach the scripts to treat "none" as a synonym for "sys_ni