All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] syscalls: add comments show the define file for aio
@ 2021-01-09  6:58 yangerkun
  2021-01-09  6:58 ` [PATCH 2/2] syscalls: fix define file comments for lookup_dcookie yangerkun
  2021-01-09 11:55 ` [PATCH 1/2] syscalls: add comments show the define file for aio Arnd Bergmann
  0 siblings, 2 replies; 3+ messages in thread
From: yangerkun @ 2021-01-09  6:58 UTC (permalink / raw)
  To: arnd, yangerkun; +Cc: linux-arch

fs/aio.c define the syscalls for aio.

Signed-off-by: yangerkun <yangerkun@huawei.com>
---
 include/uapi/asm-generic/unistd.h       | 1 +
 tools/include/uapi/asm-generic/unistd.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h
index 728752917785..84022c87ed49 100644
--- a/include/uapi/asm-generic/unistd.h
+++ b/include/uapi/asm-generic/unistd.h
@@ -30,6 +30,7 @@
 #define __SC_COMP_3264(_nr, _32, _64, _comp) __SC_3264(_nr, _32, _64)
 #endif
 
+/* fs/aio.c */
 #define __NR_io_setup 0
 __SC_COMP(__NR_io_setup, sys_io_setup, compat_sys_io_setup)
 #define __NR_io_destroy 1
diff --git a/tools/include/uapi/asm-generic/unistd.h b/tools/include/uapi/asm-generic/unistd.h
index 728752917785..84022c87ed49 100644
--- a/tools/include/uapi/asm-generic/unistd.h
+++ b/tools/include/uapi/asm-generic/unistd.h
@@ -30,6 +30,7 @@
 #define __SC_COMP_3264(_nr, _32, _64, _comp) __SC_3264(_nr, _32, _64)
 #endif
 
+/* fs/aio.c */
 #define __NR_io_setup 0
 __SC_COMP(__NR_io_setup, sys_io_setup, compat_sys_io_setup)
 #define __NR_io_destroy 1
-- 
2.25.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH 2/2] syscalls: fix define file comments for lookup_dcookie
  2021-01-09  6:58 [PATCH 1/2] syscalls: add comments show the define file for aio yangerkun
@ 2021-01-09  6:58 ` yangerkun
  2021-01-09 11:55 ` [PATCH 1/2] syscalls: add comments show the define file for aio Arnd Bergmann
  1 sibling, 0 replies; 3+ messages in thread
From: yangerkun @ 2021-01-09  6:58 UTC (permalink / raw)
  To: arnd, yangerkun; +Cc: linux-arch

The define file for lookup_dcookie is fs/dcookies.c, not fs/cookies.c

Signed-off-by: yangerkun <yangerkun@huawei.com>
---
 include/uapi/asm-generic/unistd.h       | 2 +-
 tools/include/uapi/asm-generic/unistd.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/uapi/asm-generic/unistd.h b/include/uapi/asm-generic/unistd.h
index 84022c87ed49..9886ff3337df 100644
--- a/include/uapi/asm-generic/unistd.h
+++ b/include/uapi/asm-generic/unistd.h
@@ -74,7 +74,7 @@ __SYSCALL(__NR_fremovexattr, sys_fremovexattr)
 #define __NR_getcwd 17
 __SYSCALL(__NR_getcwd, sys_getcwd)
 
-/* fs/cookies.c */
+/* fs/dcookies.c */
 #define __NR_lookup_dcookie 18
 __SC_COMP(__NR_lookup_dcookie, sys_lookup_dcookie, compat_sys_lookup_dcookie)
 
diff --git a/tools/include/uapi/asm-generic/unistd.h b/tools/include/uapi/asm-generic/unistd.h
index 84022c87ed49..9886ff3337df 100644
--- a/tools/include/uapi/asm-generic/unistd.h
+++ b/tools/include/uapi/asm-generic/unistd.h
@@ -74,7 +74,7 @@ __SYSCALL(__NR_fremovexattr, sys_fremovexattr)
 #define __NR_getcwd 17
 __SYSCALL(__NR_getcwd, sys_getcwd)
 
-/* fs/cookies.c */
+/* fs/dcookies.c */
 #define __NR_lookup_dcookie 18
 __SC_COMP(__NR_lookup_dcookie, sys_lookup_dcookie, compat_sys_lookup_dcookie)
 
-- 
2.25.4


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] syscalls: add comments show the define file for aio
  2021-01-09  6:58 [PATCH 1/2] syscalls: add comments show the define file for aio yangerkun
  2021-01-09  6:58 ` [PATCH 2/2] syscalls: fix define file comments for lookup_dcookie yangerkun
@ 2021-01-09 11:55 ` Arnd Bergmann
  1 sibling, 0 replies; 3+ messages in thread
From: Arnd Bergmann @ 2021-01-09 11:55 UTC (permalink / raw)
  To: yangerkun; +Cc: Arnd Bergmann, linux-arch

On Sat, Jan 9, 2021 at 7:58 AM yangerkun <yangerkun@huawei.com> wrote:
>
> fs/aio.c define the syscalls for aio.
>
> Signed-off-by: yangerkun <yangerkun@huawei.com>

This is obviously correct.

However, as Christoph Hellwig suggested the last time this came up
for include/linux/syscalls.h, let's maybe just remove all those comments
altogether.

What I really want to do with this file though, is to completely remove
it altogether and replace it with a syscall.tbl file as we have it in the
architectures that do not use the generic table.

If you or someone else wants to help out with that, I can point
you to the last version of the proposed patches for that from
a few years ago, and guide you through what else needs to be
done before it can get merged.

       Arnd

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-01-09 11:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-01-09  6:58 [PATCH 1/2] syscalls: add comments show the define file for aio yangerkun
2021-01-09  6:58 ` [PATCH 2/2] syscalls: fix define file comments for lookup_dcookie yangerkun
2021-01-09 11:55 ` [PATCH 1/2] syscalls: add comments show the define file for aio Arnd Bergmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.