Re: [PATCH 2/2] mfd: si476x: Do not use binary constants

2013-05-16 Thread Samuel Ortiz
Hi Geert, On Wed, May 08, 2013 at 10:23:42PM +0200, Geert Uytterhoeven wrote: > Gcc < 4.3 doesn't understand binary constanrs (0b*): > > drivers/mfd/si476x-cmd.c:153:22: error: invalid suffix "b1" on integer > constant > drivers/mfd/si476x-cmd.c:775:20: error: invalid suffix "b1000" on

Re: [PATCH 2/2] mfd: si476x: Do not use binary constants

2013-05-16 Thread Samuel Ortiz
Hi Geert, On Wed, May 08, 2013 at 10:23:42PM +0200, Geert Uytterhoeven wrote: Gcc 4.3 doesn't understand binary constanrs (0b*): drivers/mfd/si476x-cmd.c:153:22: error: invalid suffix b1 on integer constant drivers/mfd/si476x-cmd.c:775:20: error: invalid suffix b1000 on integer

Re: [PATCH 2/2] mfd: si476x: Do not use binary constants

2013-05-13 Thread Joe Perches
On Mon, 2013-05-13 at 07:29 -0700, Andrey Smirnov wrote: > On Wed, May 8, 2013 at 1:23 PM, Geert Uytterhoeven > wrote: > > Gcc < 4.3 doesn't understand binary constanrs (0b*): [] > > Hence use hexadecimal constants (0x*) instead. [] > I really begin to regret my decision to use those constants

Re: [PATCH 2/2] mfd: si476x: Do not use binary constants

2013-05-13 Thread Andrey Smirnov
On Wed, May 8, 2013 at 1:23 PM, Geert Uytterhoeven wrote: > Gcc < 4.3 doesn't understand binary constanrs (0b*): > > drivers/mfd/si476x-cmd.c:153:22: error: invalid suffix "b1" on integer > constant > drivers/mfd/si476x-cmd.c:775:20: error: invalid suffix "b1000" on integer > constant >

Re: [PATCH 2/2] mfd: si476x: Do not use binary constants

2013-05-13 Thread Andrey Smirnov
On Wed, May 8, 2013 at 1:23 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: Gcc 4.3 doesn't understand binary constanrs (0b*): drivers/mfd/si476x-cmd.c:153:22: error: invalid suffix b1 on integer constant drivers/mfd/si476x-cmd.c:775:20: error: invalid suffix b1000 on integer

Re: [PATCH 2/2] mfd: si476x: Do not use binary constants

2013-05-13 Thread Joe Perches
On Mon, 2013-05-13 at 07:29 -0700, Andrey Smirnov wrote: On Wed, May 8, 2013 at 1:23 PM, Geert Uytterhoeven ge...@linux-m68k.org wrote: Gcc 4.3 doesn't understand binary constanrs (0b*): [] Hence use hexadecimal constants (0x*) instead. [] I really begin to regret my decision to use those

[PATCH 2/2] mfd: si476x: Do not use binary constants

2013-05-08 Thread Geert Uytterhoeven
Gcc < 4.3 doesn't understand binary constanrs (0b*): drivers/mfd/si476x-cmd.c:153:22: error: invalid suffix "b1" on integer constant drivers/mfd/si476x-cmd.c:775:20: error: invalid suffix "b1000" on integer constant drivers/mfd/si476x-cmd.c:776:20: error: invalid suffix "b0100" on

[PATCH 2/2] mfd: si476x: Do not use binary constants

2013-05-08 Thread Geert Uytterhoeven
Gcc 4.3 doesn't understand binary constanrs (0b*): drivers/mfd/si476x-cmd.c:153:22: error: invalid suffix b1 on integer constant drivers/mfd/si476x-cmd.c:775:20: error: invalid suffix b1000 on integer constant drivers/mfd/si476x-cmd.c:776:20: error: invalid suffix b0100 on integer