Re: [PATCH V2] mtd: spi-nor: intel: use true/false for boolean

2017-03-07 Thread Cyrille Pitchen
Le 14/02/2017 à 10:57, Mika Westerberg a écrit : > On Tue, Feb 14, 2017 at 05:52:48AM +0100, Marek Vasut wrote: >> On 02/13/2017 09:13 AM, Nicholas Mc Guire wrote: >>> writeable in struct intel_spi is a boolean and assignment should be to >>> true/false not 1/0 as recommended by boolinit.cocci. >>>

Re: [PATCH V2] mtd: spi-nor: intel: use true/false for boolean

2017-02-15 Thread Marek Vasut
On 02/14/2017 10:57 AM, Mika Westerberg wrote: > On Tue, Feb 14, 2017 at 05:52:48AM +0100, Marek Vasut wrote: >> On 02/13/2017 09:13 AM, Nicholas Mc Guire wrote: >>> writeable in struct intel_spi is a boolean and assignment should be to >>> true/false not 1/0 as recommended by boolinit.cocci. >>> >

Re: [PATCH V2] mtd: spi-nor: intel: use true/false for boolean

2017-02-14 Thread Mika Westerberg
On Tue, Feb 14, 2017 at 05:52:48AM +0100, Marek Vasut wrote: > On 02/13/2017 09:13 AM, Nicholas Mc Guire wrote: > > writeable in struct intel_spi is a boolean and assignment should be to > > true/false not 1/0 as recommended by boolinit.cocci. > > > > Signed-off-by: Nicholas Mc Guire > > --- > >

Re: [PATCH V2] mtd: spi-nor: intel: use true/false for boolean

2017-02-13 Thread Marek Vasut
On 02/13/2017 09:13 AM, Nicholas Mc Guire wrote: > writeable in struct intel_spi is a boolean and assignment should be to > true/false not 1/0 as recommended by boolinit.cocci. > > Signed-off-by: Nicholas Mc Guire > --- > > make coccicheck complained with: > ./drivers/mtd/spi-nor/intel-spi.c:70