* [folded-merged] fs-proc-kcorec-remove-check-of-list-iterator-against-head-past-the-loop-body-fix.patch removed from -mm tree
@ 2022-04-29 20:48 Andrew Morton
0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2022-04-29 20:48 UTC (permalink / raw)
To: mm-commits, rppt, osalvador, jakobkoschel, h.j.bos, david,
c.giuffrida, bjohannesmeyer, adobriyan, akpm, akpm
The quilt patch titled
Subject: fs-proc-kcorec-remove-check-of-list-iterator-against-head-past-the-loop-body-fix
has been removed from the -mm tree. Its filename was
fs-proc-kcorec-remove-check-of-list-iterator-against-head-past-the-loop-body-fix.patch
This patch was dropped because it was folded into fs-proc-kcorec-remove-check-of-list-iterator-against-head-past-the-loop-body.patch
------------------------------------------------------
From: Andrew Morton <akpm@linux-foundation.org>
Subject: fs-proc-kcorec-remove-check-of-list-iterator-against-head-past-the-loop-body-fix
reduce scope of `iter'
Cc: "Bos, H.J." <h.j.bos@vu.nl>
Cc: "Brian Johannesmeyer" <bjohannesmeyer@gmail.com>
Cc: Cristiano Giuffrida <c.giuffrida@vu.nl>
Cc: David Hildenbrand <david@redhat.com>
Cc: Jakob Koschel <jakobkoschel@gmail.com>
Cc: Mike Rapoport <rppt@kernel.org>
Cc: Oscar Salvador <osalvador@suse.de>
Cc: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/proc/kcore.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/fs/proc/kcore.c~fs-proc-kcorec-remove-check-of-list-iterator-against-head-past-the-loop-body-fix
+++ a/fs/proc/kcore.c
@@ -316,7 +316,6 @@ read_kcore(struct file *file, char __use
size_t page_offline_frozen = 1;
size_t phdrs_len, notes_len;
struct kcore_list *m;
- struct kcore_list *iter;
size_t tsz;
int nphdr;
unsigned long start;
@@ -480,6 +479,8 @@ read_kcore(struct file *file, char __use
* the previous entry, search for a matching entry.
*/
if (!m || start < m->addr || start >= m->addr + m->size) {
+ struct kcore_list *iter;
+
m = NULL;
list_for_each_entry(iter, &kclist_head, list) {
if (start >= iter->addr &&
_
Patches currently in -mm which might be from akpm@linux-foundation.org are
mm-create-new-mm-swaph-header-file-fix.patch
mm-check-against-orig_pte-for-finish_fault-fix-checkpatch-fixes.patch
mm-hugetlb-only-drop-uffd-wp-special-pte-if-required-fix-fix.patch
kfence-enable-check-kfence-canary-on-panic-via-boot-param-fix.patch
lib-kstrtoxc-add-false-true-support-to-kstrtobool-fix.patch
mm-vmscan-not-necessary-to-re-init-the-list-for-each-iteration-fix.patch
mm-make-minimum-slab-alignment-a-runtime-property-fix.patch
fs-proc-kcorec-remove-check-of-list-iterator-against-head-past-the-loop-body.patch
add-fat-messages-to-printk-index-checkpatch-fixes.patch
proc-fix-dentry-inode-overinstantiating-under-proc-pid-net-checkpatch-fixes.patch
linux-next-rejects.patch
linux-next-git-rejects.patch
mm-oom_killc-fix-vm_oom_kill_table-ifdeffery.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-29 20:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-29 20:48 [folded-merged] fs-proc-kcorec-remove-check-of-list-iterator-against-head-past-the-loop-body-fix.patch removed from -mm tree Andrew Morton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.