From: Andrew Morton Date: Thu, 26 Sep 2019 14:28:17 +0000 (-0700) Subject: arch/sparc/include/asm/pgtable_64.h: fix build X-Git-Tag: v5.4-rc1~46^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a22fea94992a2bc5328005e62f368413ede49c14;p=platform%2Fkernel%2Flinux-rpi.git 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 Cc: David Miller Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/sparc/include/asm/pgtable_64.h b/arch/sparc/include/asm/pgtable_64.h index 6ec514fe3bef..6ae8016ef4ec 100644 --- a/arch/sparc/include/asm/pgtable_64.h +++ b/arch/sparc/include/asm/pgtable_64.h @@ -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) {