Thread (5 messages) flat view 5 messages, 2 authors, 2020-07-18

Re: [PATCH] syscall.h: fix comment

From: Minh Bùi Quang <hidden>
Date: 2020-07-18 02:37:39

Hi, I actually find the file reference quite useful for me to look for
syscalls definition.

Vào Th 7, 18 thg 7, 2020 vào lúc 07:20 Thomas Gleixner
[off-list ref] đã viết:
Bui Quang Minh [off-list ref] writes:
quoted
The comment shows wrong file name that contains the syscalls' definition

Signed-off-by: Bui Quang Minh <redacted>
---
 include/linux/syscalls.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/syscalls.h b/include/linux/syscalls.h
index 1815065d52f3..a3d053f715e2 100644
--- a/include/linux/syscalls.h
+++ b/include/linux/syscalls.h
@@ -741,7 +741,7 @@ asmlinkage long sys_settimeofday(struct __kernel_old_timeval __user *tv,
 asmlinkage long sys_adjtimex(struct __kernel_timex __user *txc_p);
 asmlinkage long sys_adjtimex_time32(struct old_timex32 __user *txc_p);

-/* kernel/timer.c */
+/* kernel/sys.c */
How about just removing the file reference completely. It has no value
at all.

Thanks,

        tglx
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help