[PATCH] watchdog: sunxi: Fix compilation with C=2

Maxime Ripard maxime.ripard at free-electrons.com
Thu May 15 01:52:14 PDT 2014


On Sun, May 11, 2014 at 04:46:59PM -0300, Emilio López wrote:
> El 04/04/14 15:02, Guenter Roeck escribió:
> >On 04/04/2014 10:24 AM, Emilio López wrote:
> >>When compiling sunxi_defconfig while using C=2, the following error
> >>causes the compilation to fail:
> >>
> >>     drivers/watchdog/sunxi_wdt.c:60:15: error: constant 0b0001 is not
> >>a valid number
> >>
> >>Fix it by using hex notation instead of the non-standard binary one
> >>
> >>Signed-off-by: Emilio López <emilio at elopez.com.ar>
> >
> >Reviewed-by: Guenter Roeck <linux at roeck-us.net>
> >
> 
> Wim, Maxime, any comments on this?

I'm fine with this. Wim? Do you want to take this patch, or can we
have an Acked-by?

Thanks,
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20140515/1c5a5fa7/attachment.sig>


More information about the linux-arm-kernel mailing list