The patch titled Subject: arch/alpha/kernel/process.c: remove unnecessary (void*) conversions has been added to the -mm mm-nonmm-unstable branch. Its filename is kernel-process-remove-unnecessary-void-conversions.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/kernel-process-remove-unnecessary-void-conversions.patch This patch will later appear in the mm-nonmm-unstable branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next via the mm-everything branch at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm and is updated there every 2-3 working days ------------------------------------------------------ From: Li zeming <zeming@xxxxxxxxxxxx> Subject: arch/alpha/kernel/process.c: remove unnecessary (void*) conversions Date: Tue, 13 Dec 2022 15:36:33 +0800 generic_ptr is a void * type and does not require a cast. Link: https://lkml.kernel.org/r/20221213073633.3586-1-zeming@xxxxxxxxxxxx Signed-off-by: Li zeming <zeming@xxxxxxxxxxxx> Cc: "Eric W. Biederman" <ebiederm@xxxxxxxxxxxx> Cc: Ivan Kokshaysky <ink@xxxxxxxxxxxxxxxxxxxx> Cc: Matt Turner <mattst88@xxxxxxxxx> Cc: Richard Henderson <richard.henderson@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- arch/alpha/kernel/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/arch/alpha/kernel/process.c~kernel-process-remove-unnecessary-void-conversions +++ a/arch/alpha/kernel/process.c @@ -74,7 +74,7 @@ struct halt_info { static void common_shutdown_1(void *generic_ptr) { - struct halt_info *how = (struct halt_info *)generic_ptr; + struct halt_info *how = generic_ptr; struct percpu_struct *cpup; unsigned long *pflags, flags; int cpuid = smp_processor_id(); _ Patches currently in -mm which might be from zeming@xxxxxxxxxxxx are kernel-smp-remove-unnecessary-void-conversions.patch kernel-process-remove-unnecessary-void-conversions.patch