Re: [PATCH] syscalls: Remove file path comments from headers
From: "Arnd Bergmann" <arnd@arndb.de>
Date: 2023-06-22 15:11:00
Also in:
linux-arch, lkml
From: "Arnd Bergmann" <arnd@arndb.de>
Date: 2023-06-22 15:11:00
Also in:
linux-arch, lkml
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 <redacted> --- 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