Re: [PATCH] syscalls: Remove file path comments from headers

From: Arnd Bergmann
Date: Thu Jun 22 2023 - 11:11:00 EST


On Thu, Jun 22, 2023, at 00:36, Sohil Mehta wrote:
> Source file locations for syscall definitions can change over a period
> of time. File paths in comments get stale and are hard to maintain long
> term. Also, their usefulness is questionable since it would be easier to
> locate a syscall definition using the SYSCALL_DEFINEx() macro.
>
> Remove all source file path comments from the syscall headers. Also,
> equalize the uneven line spacing (some of which is introduced due to the
> deletions).
>
> Signed-off-by: Sohil Mehta <sohil.mehta@xxxxxxxxx>
> ---
> include/linux/compat.h | 82 ++------------
> include/linux/syscalls.h | 140 +++---------------------
> include/uapi/asm-generic/unistd.h | 129 +++++-----------------
> kernel/sys_ni.c | 110 +------------------
> tools/include/uapi/asm-generic/unistd.h | 129 +++++-----------------
> 5 files changed, 85 insertions(+), 505 deletions(-)

Applied to the asm-generic tree, thanks!

Arnd