[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180708234939.6beb9a0d@xps13>
Date: Sun, 8 Jul 2018 23:49:39 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Wei Yongjun <weiyongjun1@...wei.com>
Cc: Boris Brezillon <boris.brezillon@...tlin.com>,
Richard Weinberger <richard@....at>,
"David Woodhouse" <dwmw2@...radead.org>,
Brian Norris <computersforpeace@...il.com>,
Marek Vasut <marek.vasut@...il.com>,
Peter Pan <peterpandong@...ron.com>,
Frieder Schrempf <frieder.schrempf@...eet.de>,
<linux-mtd@...ts.infradead.org>, <linux-kernel@...r.kernel.org>,
<kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH -next] mtd: spinand: Fix error return code in
spinand_init()
Hi Wei,
Wei Yongjun <weiyongjun1@...wei.com> wrote on Wed, 4 Jul 2018 08:34:58
+0000:
> Fix to return error code -ENOMEM from the kzalloc() error handling
> case instead of 0, as done elsewhere in this function.
>
> Fixes: c898e0526fb6 ("mtd: nand: Add core infrastructure to support SPI NANDs")
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
> ---
> drivers/mtd/nand/spi/core.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Merged with the original commit.
Thanks,
Miquèl
Powered by blists - more mailing lists