* [U-Boot] [PATCH] nios2: remove the useless parenthesis in asm/io.h
@ 2015-10-29 13:03 Thomas Chou
2015-10-29 13:15 ` Marek Vasut
2015-11-03 5:17 ` Thomas Chou
0 siblings, 2 replies; 3+ messages in thread
From: Thomas Chou @ 2015-10-29 13:03 UTC (permalink / raw)
To: u-boot
Remove the useless parenthesis in asm/io.h as suggested
by Marek.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
---
arch/nios2/include/asm/io.h | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/arch/nios2/include/asm/io.h b/arch/nios2/include/asm/io.h
index 3443408..03a3418 100644
--- a/arch/nios2/include/asm/io.h
+++ b/arch/nios2/include/asm/io.h
@@ -18,10 +18,10 @@ static inline void sync(void)
* that can be used to access the memory range with the caching
* properties specified by "flags".
*/
-#define MAP_NOCACHE (1)
-#define MAP_WRCOMBINE (0)
-#define MAP_WRBACK (0)
-#define MAP_WRTHROUGH (0)
+#define MAP_NOCACHE 1
+#define MAP_WRCOMBINE 0
+#define MAP_WRBACK 0
+#define MAP_WRTHROUGH 0
static inline void *
map_physmem(phys_addr_t paddr, unsigned long len, unsigned long flags)
--
2.1.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] nios2: remove the useless parenthesis in asm/io.h
2015-10-29 13:03 [U-Boot] [PATCH] nios2: remove the useless parenthesis in asm/io.h Thomas Chou
@ 2015-10-29 13:15 ` Marek Vasut
2015-11-03 5:17 ` Thomas Chou
1 sibling, 0 replies; 3+ messages in thread
From: Marek Vasut @ 2015-10-29 13:15 UTC (permalink / raw)
To: u-boot
On Thursday, October 29, 2015 at 02:03:39 PM, Thomas Chou wrote:
> Remove the useless parenthesis in asm/io.h as suggested
> by Marek.
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Yes, this patch does not break anything ;-)
Tested-by: Marek Vasut <marex@denx.de>
Acked-by: Marek Vasut <marex@denx.de>
Best regards,
Marek Vasut
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] [PATCH] nios2: remove the useless parenthesis in asm/io.h
2015-10-29 13:03 [U-Boot] [PATCH] nios2: remove the useless parenthesis in asm/io.h Thomas Chou
2015-10-29 13:15 ` Marek Vasut
@ 2015-11-03 5:17 ` Thomas Chou
1 sibling, 0 replies; 3+ messages in thread
From: Thomas Chou @ 2015-11-03 5:17 UTC (permalink / raw)
To: u-boot
On 2015?10?29? 21:03, Thomas Chou wrote:
> Remove the useless parenthesis in asm/io.h as suggested
> by Marek.
>
> Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
> ---
> arch/nios2/include/asm/io.h | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
>
Applied to u-boot-nios.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-03 5:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-29 13:03 [U-Boot] [PATCH] nios2: remove the useless parenthesis in asm/io.h Thomas Chou
2015-10-29 13:15 ` Marek Vasut
2015-11-03 5:17 ` Thomas Chou
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox