Re: [PATCH] ARM: uniphier: drop weird sizeof()

2016-04-12 Thread Olof Johansson
On Fri, Mar 25, 2016 at 11:14:02AM +0900, Masahiro Yamada wrote: > My intention was to ioremap a 4-byte register. Coincidentally enough, > sizeof(SZ_4) equals to SZ_4, but this code is weird anyway. > > Signed-off-by: Masahiro Yamada > --- Applied to fixes, thanks. -Olof

[PATCH] ARM: uniphier: drop weird sizeof()

2016-03-24 Thread Masahiro Yamada
My intention was to ioremap a 4-byte register. Coincidentally enough, sizeof(SZ_4) equals to SZ_4, but this code is weird anyway. Signed-off-by: Masahiro Yamada --- arch/arm/mach-uniphier/platsmp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/arm/mach-uniphier/plats