diff mbox series

[v2,03/26] alpha: Fix alloc_zeroed_user_highpage_movable()

Message ID 20220504182857.4013401-4-willy@infradead.org (mailing list archive)
State New
Headers show
Series Folio patches for 5.19 | expand

Commit Message

Matthew Wilcox (Oracle) May 4, 2022, 6:28 p.m. UTC
Due to a typo, the final argument to alloc_page_vma() didn't refer to a
real variable.  This only affected CONFIG_NUMA, which was marked BROKEN
in 2006 and removed from alpha in 2021.  Found due to a refactoring patch.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
---
 arch/alpha/include/asm/page.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Christoph Hellwig May 5, 2022, 3:31 p.m. UTC | #1
On Wed, May 04, 2022 at 07:28:34PM +0100, Matthew Wilcox (Oracle) wrote:
> Due to a typo, the final argument to alloc_page_vma() didn't refer to a
> real variable.  This only affected CONFIG_NUMA, which was marked BROKEN
> in 2006 and removed from alpha in 2021.  Found due to a refactoring patch.

Looks good:

Reviewed-by: Christoph Hellwig <hch@lst.de>
diff mbox series

Patch

diff --git a/arch/alpha/include/asm/page.h b/arch/alpha/include/asm/page.h
index 18f48a6f2ff6..8f3f5eecba28 100644
--- a/arch/alpha/include/asm/page.h
+++ b/arch/alpha/include/asm/page.h
@@ -18,7 +18,7 @@  extern void clear_page(void *page);
 #define clear_user_page(page, vaddr, pg)	clear_page(page)
 
 #define alloc_zeroed_user_highpage_movable(vma, vaddr) \
-	alloc_page_vma(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, vma, vmaddr)
+	alloc_page_vma(GFP_HIGHUSER_MOVABLE | __GFP_ZERO, vma, vaddr)
 #define __HAVE_ARCH_ALLOC_ZEROED_USER_HIGHPAGE_MOVABLE
 
 extern void copy_page(void * _to, void * _from);