]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/process: Fix kernel thread function pointer type
authorHeiko Carstens <hca@linux.ibm.com>
Mon, 8 Jun 2026 14:19:08 +0000 (16:19 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Thu, 11 Jun 2026 15:45:35 +0000 (17:45 +0200)
commitd0478f5d3cba1095bfdeb43a9b063c10cdebef14
treee27db300f3fbdc85546ab7630a9e24e48834e49c
parent51746fc082260b0d91fd39315e77cb0863a00136
s390/process: Fix kernel thread function pointer type

In case of a kernel thread __ret_from_fork() calls the specified function
indirectly. Fix the kernel thread function pointer, since kernel threads
return an int instead of void.

Fixes: 56e62a737028 ("s390: convert to generic entry")
Reviewed-by: Alexander Gordeev <agordeev@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/process.c