Re: [PATCH] mtd: rawnand: stm32_fmc2: avoid warnings when building with W=1 option

From: Miquel Raynal
Date: Tue Jul 09 2019 - 03:59:40 EST


Hi Christophe,

Christophe Kerello <christophe.kerello@xxxxxx> wrote on Tue, 9 Jul 2019
09:50:10 +0200:

> On 7/1/19 9:11 AM, Miquel Raynal wrote:
> > Hi Christophe,
> >
> > Christophe Kerello <christophe.kerello@xxxxxx> wrote on Fri, 21 Jun
> > 2019 16:43:09 +0200:
> >
> >> This patch solves warnings detected by setting W=1 when building.
> >>
> >> Warnings type detected:
> >> drivers/mtd/nand/raw/stm32_fmc2_nand.c: In function âstm32_fmc2_calc_timingsâ:
> >> drivers/mtd/nand/raw/stm32_fmc2_nand.c:1417:23: warning: comparison is
> >> always false due to limited range of data type [-Wtype-limits]
> >> else if (tims->twait > FMC2_PMEM_PATT_TIMING_MASK)
> >>
> >> Signed-off-by: Christophe Kerello <christophe.kerello@xxxxxx>
> >> ---
> >
> > Applied to nand/next, thanks.
>
> Hi Miquel,
>
> After fetching nand/next, I do not see this patch applied.
>

Not sure what happened, please resend with a Fixes/stable tag added,
I'll apply when -rc1 will be out.

Sorry again for the trouble, thanks for the notice!
MiquÃl