]> Gentwo Git Trees - linux/.git/commit
s390/syscalls: Add pt_regs parameter to SYSCALL_DEFINE0() syscall wrapper
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 10 Nov 2025 18:54:35 +0000 (19:54 +0100)
committerHeiko Carstens <hca@linux.ibm.com>
Mon, 17 Nov 2025 10:10:38 +0000 (11:10 +0100)
commit7afb095df3e3c2f0d2f27d2d27bbe574ca9479f0
tree42febce525fe2953b93bb6e776581c459a3226fa
parentb2da5f6400b458659c4d3fc90d27c2da42435169
s390/syscalls: Add pt_regs parameter to SYSCALL_DEFINE0() syscall wrapper

All system call wrappers should match the sys_call_ptr_t type. This is not
the case for system calls without parameters. Add the missing pt_regs
parameter there too.

Note: this is currently not a problem, since the parameter is unused.
However it prevents to create a correctly typed system call table in
C. With the current assembler implementation this works because of
missing type checking.

Reviewed-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
arch/s390/include/asm/syscall_wrapper.h