VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   57 Tags
author: Geert Uytterhoeven <geert@linux-m68k.org> 2017-07-16 13:57:29 +0200 committer: Linus Torvalds <torvalds@linux-foundation.org> 2017-07-16 09:24:06 -0700 commit: 87b2c3fc63175bb32c96d4ec58152d4fdd5a4ae1 parent: 9f42ef4bc26b83bd33feb9a9fa55e25e5752a495
Commit Summary:
h8300: Add missing closing parenthesis in flat_get_addr_from_rp()
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/arch/h8300/include/asm/flat.h b/arch/h8300/include/asm/flat.h
index 18d024251738..7e0bd6fa1532 100644
--- a/arch/h8300/include/asm/flat.h
+++ b/arch/h8300/include/asm/flat.h
@@ -24,7 +24,7 @@ static inline int flat_get_addr_from_rp(u32 __user *rp, u32 relval, u32 flags,
 					u32 *addr, u32 *persistent)
 {
 	u32 val = get_unaligned((__force u32 *)rp);
-	if (!(flags & FLAT_FLAG_GOTPIC)
+	if (!(flags & FLAT_FLAG_GOTPIC))
 		val &= 0x00ffffff;
 	*addr = val;
 	return 0;