The patch titled Subject: initramfs: remove unnecessary (void*) conversion has been added to the -mm mm-nonmm-unstable branch. Its filename is initramfs-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/initramfs-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: XU pengfei <xupengfei@xxxxxxxxxxxx> Subject: initramfs: remove unnecessary (void*) conversion Date: Wed, 26 Oct 2022 16:05:18 +0800 Remove unnecessary void* type casting. Link: https://lkml.kernel.org/r/20221026080517.3221-1-xupengfei@xxxxxxxxxxxx Signed-off-by: XU pengfei <xupengfei@xxxxxxxxxxxx> Cc: Christian Brauner <brauner@xxxxxxxxxx> Cc: David Disseldorp <ddiss@xxxxxxx> Cc: "Eric W . Biederman" <ebiederm@xxxxxxxxxxxx> Cc: Martin Wilck <mwilck@xxxxxxxx> Cc: Mike Rapoport <rppt@xxxxxxxxxx> Cc: wuchi <wuchi.zero@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- --- a/init/initramfs.c~initramfs-remove-unnecessary-void-conversions +++ a/init/initramfs.c @@ -461,7 +461,7 @@ static long __init write_buffer(char *bu static long __init flush_buffer(void *bufv, unsigned long len) { - char *buf = (char *) bufv; + char *buf = bufv; long written; long origLen = len; if (message) _ Patches currently in -mm which might be from xupengfei@xxxxxxxxxxxx are initramfs-remove-unnecessary-void-conversions.patch