lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 6 Dec 2017 23:45:38 +0100
From:   Boris Brezillon <boris.brezillon@...e-electrons.com>
To:     Richard Weinberger <richard@....at>
Cc:     Christophe Leroy <christophe.leroy@....fr>,
        linus.walleij@...aro.org, linux-kernel@...r.kernel.org,
        linux-mtd@...ts.infradead.org
Subject: Re: [PATCH] mtd: nand: gpio: Fix ALE gpio configuration

On Wed, 6 Dec 2017 23:39:27 +0100
Boris Brezillon <boris.brezillon@...e-electrons.com> wrote:

> On Wed, 06 Dec 2017 23:28:11 +0100
> Richard Weinberger <richard@....at> wrote:
> 
> > Am Mittwoch, 6. Dezember 2017, 18:27:14 CET schrieb Christophe Leroy:  
> > > Fixes a copy/paste error in commit f3d0d8d938b4d ("mtd: nand: gpio:
> > > Convert to use GPIO descriptors") which breaks gpio-nand driver
> > > 
> > > Fixes: f3d0d8d938b4d ("mtd: nand: gpio: Convert to use GPIO descriptors")
> > > Cc: Linus Walleij <linus.walleij@...aro.org>  
> 
> Cc: <stable@...r.kernel.org>

Oops, forget the Cc-stable tag, f3d0d8d938b4d has been merged in
4.15-rc1.

> Acked-by: Boris Brezillon <boris.brezillon@...e-electrons.com>
> 
> Richard, can you queue that one to the fixes branch?
> 
> > > Signed-off-by: Christophe Leroy <christophe.leroy@....fr>
> > > ---
> > >  drivers/mtd/nand/gpio.c | 6 +++---
> > >  1 file changed, 3 insertions(+), 3 deletions(-)
> > > 
> > > diff --git a/drivers/mtd/nand/gpio.c b/drivers/mtd/nand/gpio.c
> > > index 484f7fbc3f7d..a8bde6665c24 100644
> > > --- a/drivers/mtd/nand/gpio.c
> > > +++ b/drivers/mtd/nand/gpio.c
> > > @@ -253,9 +253,9 @@ static int gpio_nand_probe(struct platform_device *pdev)
> > > goto out_ce;
> > >  	}
> > > 
> > > -	gpiomtd->nwp = devm_gpiod_get(dev, "ale", GPIOD_OUT_LOW);
> > > -	if (IS_ERR(gpiomtd->nwp)) {
> > > -		ret = PTR_ERR(gpiomtd->nwp);
> > > +	gpiomtd->ale = devm_gpiod_get(dev, "ale", GPIOD_OUT_LOW);
> > > +	if (IS_ERR(gpiomtd->ale)) {
> > > +		ret = PTR_ERR(gpiomtd->ale);
> > >  		goto out_ce;
> > >  	}    
> > 
> > Reviewed-by: Richard Weinberger <richard@....at>
> > 
> > Thanks,
> > //richard  
> 

Powered by blists - more mailing lists