* [PATCH][trivial] microblaze: Fix out_le32() macro
@ 2010-02-22 15:25 Steven J. Magnani
2010-02-23 7:35 ` Michal Simek
0 siblings, 1 reply; 2+ messages in thread
From: Steven J. Magnani @ 2010-02-22 15:25 UTC (permalink / raw)
To: microblaze-uclinux; +Cc: monstr, linux-kernel, Steven J. Magnani
Trailing semicolon causes compilation involving out_le32() to fail.
Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
diff -uprN a/arch/microblaze/include/asm/io.h b/arch/microblaze/include/asm/io.h
--- a/arch/microblaze/include/asm/io.h 2010-02-22 09:21:14.000000000 -0600
+++ b/arch/microblaze/include/asm/io.h 2010-02-22 09:21:44.000000000 -0600
@@ -217,7 +217,7 @@ static inline void __iomem *__ioremap(ph
* Little endian
*/
-#define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a));
+#define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a))
#define out_le16(a, v) __raw_writew(__cpu_to_le16(v), (a))
#define in_le32(a) __le32_to_cpu(__raw_readl(a))
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH][trivial] microblaze: Fix out_le32() macro
2010-02-22 15:25 [PATCH][trivial] microblaze: Fix out_le32() macro Steven J. Magnani
@ 2010-02-23 7:35 ` Michal Simek
0 siblings, 0 replies; 2+ messages in thread
From: Michal Simek @ 2010-02-23 7:35 UTC (permalink / raw)
To: Steven J. Magnani; +Cc: microblaze-uclinux, linux-kernel
Added to next branch.
Thanks,
Michal
Steven J. Magnani wrote:
> Trailing semicolon causes compilation involving out_le32() to fail.
>
> Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
> diff -uprN a/arch/microblaze/include/asm/io.h b/arch/microblaze/include/asm/io.h
> --- a/arch/microblaze/include/asm/io.h 2010-02-22 09:21:14.000000000 -0600
> +++ b/arch/microblaze/include/asm/io.h 2010-02-22 09:21:44.000000000 -0600
> @@ -217,7 +217,7 @@ static inline void __iomem *__ioremap(ph
> * Little endian
> */
>
> -#define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a));
> +#define out_le32(a, v) __raw_writel(__cpu_to_le32(v), (a))
> #define out_le16(a, v) __raw_writew(__cpu_to_le16(v), (a))
>
> #define in_le32(a) __le32_to_cpu(__raw_readl(a))
>
--
Michal Simek, Ing. (M.Eng)
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel 2.6 Microblaze Linux - http://www.monstr.eu/fdt/
Microblaze U-BOOT custodian
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-02-23 7:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-22 15:25 [PATCH][trivial] microblaze: Fix out_le32() macro Steven J. Magnani
2010-02-23 7:35 ` Michal Simek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.