* [folded-merged] mm-pagewalk-add-p4d_entry-and-pgd_entry-fix.patch removed from -mm tree
@ 2020-02-04 1:10 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2020-02-04 1:10 UTC (permalink / raw)
To: arnd, jhubbard, mm-commits, steven.price
The patch titled
Subject: mm: pagewalk: fix unused variable warning
has been removed from the -mm tree. Its filename was
mm-pagewalk-add-p4d_entry-and-pgd_entry-fix.patch
This patch was dropped because it was folded into mm-pagewalk-add-p4d_entry-and-pgd_entry.patch
------------------------------------------------------
From: Arnd Bergmann <arnd@arndb.de>
Subject: mm: pagewalk: fix unused variable warning
One of the pagewalk patches introduced a harmless warning:
mm/hmm.c: In function 'hmm_vma_walk_pud':
mm/hmm.c:478:9: error: unused variable 'pmdp' [-Werror=3Dunused-variable]
pmd_t *pmdp;
^~~~
mm/hmm.c:477:30: error: unused variable 'next' [-Werror=3Dunused-variable=
]
unsigned long addr =3D start, next;
^~~~
Remove both of the now-unused variables.
Link: http://lkml.kernel.org/r/20200107204607.1533842-1-arnd@arndb.de
Fixes: cb4d03d5fb4c ("mm: pagewalk: add p4d_entry() and pgd_entry()")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: John Hubbard <jhubbard@nvidia.com>
Reviewed-by: Steven Price <steven.price@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/hmm.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
--- a/mm/hmm.c~mm-pagewalk-add-p4d_entry-and-pgd_entry-fix
+++ a/mm/hmm.c
@@ -474,8 +474,7 @@ static int hmm_vma_walk_pud(pud_t *pudp,
{
struct hmm_vma_walk *hmm_vma_walk = walk->private;
struct hmm_range *range = hmm_vma_walk->range;
- unsigned long addr = start, next;
- pmd_t *pmdp;
+ unsigned long addr = start;
pud_t pud;
int ret = 0;
spinlock_t *ptl = pud_trans_huge_lock(pudp, walk->vma);
_
Patches currently in -mm which might be from arnd@arndb.de are
mm-pagewalk-add-p4d_entry-and-pgd_entry.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-02-04 1:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-04 1:10 [folded-merged] mm-pagewalk-add-p4d_entry-and-pgd_entry-fix.patch removed from -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).