Re: [PATCH] syscalls: Fix file path names in the header comments

From
Arnd Bergmann <arnd@arndb.de>
Date
2023-06-16 20:12:21
Also in
linux-arch, lkml
Reply to
Sohil Mehta, 2023-06-16
On Fri, Jun 16, 2023, at 20:31, Sohil Mehta wrote:
Some of the syscall definitions have moved due to the original source
file being moved into a sub-directory. Update the file path names to
reflect that.

A couple of syscalls such as lookup_dcookie() and nfsservctl() don't
have a syscall definition anymore. Clear the filename and leave the
original subsystem name intact for reference.

Signed-off-by: Sohil Mehta <redacted>
Thanks for going through these!
Arguably, having filenames in comments might not be the best idea.  If the
intention is to make it easier to find a syscall definition, it is probably
faster to just use 'git grep SYSCALL_DEFINE | grep <syscall_name>'.  Please let
me know if it would be preferable to just get rid of these comments all
together.
It's probably not worth trying to keep the comments in sync, I'd be in
favor of just removing them all.

     Arnd
Thread (8 messages) 8 messages, 3 authors, last reply 2023-06-23
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help