arch/sparc/include/asm/pgtable_64.h: fix build
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 26 Sep 2019 14:28:17 +0000 (07:28 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 26 Sep 2019 17:27:06 +0000 (10:27 -0700)
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>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/sparc/include/asm/pgtable_64.h

index 6ec514fe3bef7116442ea4ece2df583b067e7bf1..6ae8016ef4ec726b015668f4f3e27b4bd561046c 100644 (file)
@@ -1099,7 +1099,7 @@ static inline unsigned long __untagged_addr(unsigned long start)
        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)
 {