diff mbox series

[1/1] arch/sparc/include/asm/pgtable_64.h: fix build

Message ID 20190926142817.-x87Q8YwY%akpm@linux-foundation.org (mailing list archive)
State New, archived
Headers show
Series [1/1] arch/sparc/include/asm/pgtable_64.h: fix build | expand

Commit Message

Andrew Morton Sept. 26, 2019, 2:28 p.m. UTC
From: Andrew Morton <akpm@linux-foundation.org>
Subject: arch/sparc/include/asm/pgtable_64.h: fix build

A last-minute fixlet which I'd failed to merge at the appropriate time had
the predictable effect.

Fixes: f672e2c217e2d4b2 ("lib: untag user pointers in strn*_user")
Cc: Andrey Konovalov <andreyknvl@google.com>
Cc: David Miller <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 arch/sparc/include/asm/pgtable_64.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

--- a/arch/sparc/include/asm/pgtable_64.h~arch-sparc-include-asm-pgtable_64h-fix-build
+++ a/arch/sparc/include/asm/pgtable_64.h
@@ -1099,7 +1099,7 @@  static inline unsigned long __untagged_a
 	return start;
 }
 #define untagged_addr(addr) \
-	((__typeof__(addr))(__untagged_addr((unsigned long)(addr)))
+	((__typeof__(addr))(__untagged_addr((unsigned long)(addr))))
 
 static inline bool pte_access_permitted(pte_t pte, bool write)
 {