The patch titled Subject: kexec-add-helper-__crash_shrink_memory-fix has been added to the -mm mm-nonmm-unstable branch. Its filename is kexec-add-helper-__crash_shrink_memory-fix.patch This patch will shortly appear at https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/kexec-add-helper-__crash_shrink_memory-fix.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: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> Subject: kexec-add-helper-__crash_shrink_memory-fix Date: Tue May 30 03:04:55 PM PDT 2023 make __crash_shrink_memory() static Reported-by: kernel test robot <lkp@xxxxxxxxx> Closes: https://lore.kernel.org/oe-kbuild-all/202305280717.Pw06aLkz-lkp@xxxxxxxxx/ Cc: Baoquan He <bhe@xxxxxxxxxx> Cc: Cong Wang <amwang@xxxxxxxxxx> Cc: Eric W. Biederman <ebiederm@xxxxxxxxxxxx> Cc: Michael Holzheu <holzheu@xxxxxxxxxxxxxxxxxx> Cc: Zhen Lei <thunder.leizhen@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- kernel/kexec_core.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) --- a/kernel/kexec_core.c~kexec-add-helper-__crash_shrink_memory-fix +++ a/kernel/kexec_core.c @@ -1105,7 +1105,8 @@ ssize_t crash_get_memory_size(void) return size; } -int __crash_shrink_memory(struct resource *old_res, unsigned long new_size) +static int __crash_shrink_memory(struct resource *old_res, + unsigned long new_size) { struct resource *ram_res; _ Patches currently in -mm which might be from akpm@xxxxxxxxxxxxxxxxxxxx are mm-compaction-optimize-compact_memory-to-comply-with-the-admin-guide-fix.patch mm-page_owner-add-page_owner_stacks-file-to-print-out-only-stacks-and-their-counte-fix.patch mm-page_owner-add-page_owner_stacks-file-to-print-out-only-stacks-and-their-counte-fix-fix.patch mmpage_owner-filter-out-stacks-by-a-threshold-counter-fix.patch mm-mlock-rename-mlock_future_check-to-mlock_future_ok.patch fork-optimize-memcg_charge_kernel_stack-a-bit-fix.patch squashfs-cache-partial-compressed-blocks-fix.patch squashfs-cache-partial-compressed-blocks-fix-3-fix.patch init-add-bdev-fs-printk-if-mount_block_root-failed-fix.patch kexec-add-helper-__crash_shrink_memory-fix.patch