From: Andrew Morton <akpm@linux-foundation.org>
To: mm-commits@vger.kernel.org,usama.anjum@collabora.com,david@redhat.com,dan.carpenter@linaro.org,akpm@linux-foundation.org
Subject: [folded-merged] fs-proc-move-page_mapcount-to-fs-proc-internalh-fix.patch removed from -mm tree
Date: Mon, 24 Jun 2024 21:29:07 -0700 [thread overview]
Message-ID: <20240625042908.62EC5C32782@smtp.kernel.org> (raw)
The quilt patch titled
Subject: fs/proc/task_mmu: fix uninitialized variable in pagemap_pmd_range()
has been removed from the -mm tree. Its filename was
fs-proc-move-page_mapcount-to-fs-proc-internalh-fix.patch
This patch was dropped because it was folded into fs-proc-move-page_mapcount-to-fs-proc-internalh.patch
------------------------------------------------------
From: Dan Carpenter <dan.carpenter@linaro.org>
Subject: fs/proc/task_mmu: fix uninitialized variable in pagemap_pmd_range()
Date: Thu, 13 Jun 2024 17:34:33 +0300
The "folio" pointer is tested for NULL, but it's either valid or
uninitialized. Initialize it to NULL.
Link: https://lkml.kernel.org/r/9d6eaba7-92f8-4a70-8765-38a519680a87@moroto.mountain
Fixes: 84f57f8b8914 ("fs/proc: move page_mapcount() to fs/proc/internal.h")
Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org>
Acked-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
fs/proc/task_mmu.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/fs/proc/task_mmu.c~fs-proc-move-page_mapcount-to-fs-proc-internalh-fix
+++ a/fs/proc/task_mmu.c
@@ -1495,7 +1495,7 @@ static int pagemap_pmd_range(pmd_t *pmdp
u64 flags = 0, frame = 0;
pmd_t pmd = *pmdp;
struct page *page = NULL;
- struct folio *folio;
+ struct folio *folio = NULL;
if (vma->vm_flags & VM_SOFTDIRTY)
flags |= PM_SOFT_DIRTY;
_
Patches currently in -mm which might be from dan.carpenter@linaro.org are
fs-proc-move-page_mapcount-to-fs-proc-internalh.patch
checkpatch-check-for-missing-fixes-tags.patch
reply other threads:[~2024-06-25 4:29 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240625042908.62EC5C32782@smtp.kernel.org \
--to=akpm@linux-foundation.org \
--cc=dan.carpenter@linaro.org \
--cc=david@redhat.com \
--cc=mm-commits@vger.kernel.org \
--cc=usama.anjum@collabora.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.