The patch titled Subject: elf: fixup compilation has been added to the -mm tree. Its filename is elf-use-list_for_each_entry-fix.patch This patch should soon appear at http://ozlabs.org/~akpm/mmots/broken-out/elf-use-list_for_each_entry-fix.patch and later at http://ozlabs.org/~akpm/mmotm/broken-out/elf-use-list_for_each_entry-fix.patch 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 and is updated there every 3-4 working days ------------------------------------------------------ From: Alexey Dobriyan <adobriyan@xxxxxxxxx> Subject: elf: fixup compilation Link: http://lkml.kernel.org/r/20190205064334.GA2152@avx2 Signed-off-by: Alexey Dobriyan <adobriyan@xxxxxxxxx> Cc: Randy Dunlap <rdunlap@xxxxxxxxxxxxx> Cc: Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- fs/binfmt_elf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/fs/binfmt_elf.c~elf-use-list_for_each_entry-fix +++ a/fs/binfmt_elf.c @@ -2121,8 +2121,8 @@ static int write_note_info(struct elf_no /* write out the thread status notes section */ list_for_each_entry(ets, &info->thread_list, list) { - for (i = 0; i < tmp->num_notes; i++) - if (!writenote(&tmp->notes[i], cprm)) + for (i = 0; i < ets->num_notes; i++) + if (!writenote(&ets->notes[i], cprm)) return 0; } _ Patches currently in -mm which might be from adobriyan@xxxxxxxxx are mm-shuffle-gfp_-flags.patch numa-make-nr_node_ids-unsigned-int.patch numa-make-nr_online_nodes-unsigned-int.patch proc-return-exit-code-4-for-skipped-tests.patch proc-read-kernel-cpu-stat-pointer-once.patch proc-use-seq_puts-everywhere.patch proc-test-proc-maps-smaps-smaps_rollup-statm.patch elf-dont-be-afraid-of-overflow.patch elf-use-list_for_each_entry.patch elf-use-list_for_each_entry-fix.patch elf-spread-const-a-little.patch proc-calculate-end-pointer-for-proc-lookup-at-compile-time.patch