[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAAyFORK4tBB0qAoB7zTktByF3Hwb0v+=RiAw2Zg0u561u_6c5Q@mail.gmail.com>
Date: Mon, 28 Mar 2016 15:56:11 +0800
From: Peter Pan <peterpansjtu@...il.com>
To: Boris Brezillon <boris.brezillon@...e-electrons.com>
Cc: Brian Norris <computersforpeace@...il.com>,
David Woodhouse <dwmw2@...radead.org>,
linux-kernel@...r.kernel.org, linux-mtd@...ts.infradead.org,
karlzhang@...ron.com, beanhuo@...ron.com, xuejiancheng@...wei.com,
Peter Pan <peterpandong@...ron.com>
Subject: Re: [PATCH 03/11] mtd: nand_bbt: add new API definitions
On Fri, Mar 25, 2016 at 4:49 PM, Boris Brezillon
<boris.brezillon@...e-electrons.com> wrote:
> On Mon, 14 Mar 2016 02:47:56 +0000
> Peter Pan <peterpansjtu@...il.com> wrote:
>
>> Add new API definitions for nand_bbt to replace old ones without
>> any users. These API includes:
>> struct nand_bbt_create(struct mtd_info *mtd);
>> struct nand_bbt *nand_bbt_create(struct mtd_info *mtd,
>> const struct nand_bbt_ops *ops,
>> struct nand_chip_layout_info *info,
>> unsigned int options,
>> struct nand_bbt_descr *bbt_td,
>> struct nand_bbt_descr *bbt_md);
>> void nand_bbt_destroy(struct nand_bbt *bbt);
>> int nand_bbt_markbad(struct nand_bbt *bbt, loff_t offs);
>> int nand_bbt_isreserved(struct nand_bbt *bbt, loff_t offs);
>> int nand_bbt_isbad(struct nand_bbt *bbt, loff_t offs);
>>
>> Signed-off-by: Brian Norris <computersforpeace@...il.com>
>> Signed-off-by: Peter Pan <peterpandong@...ron.com>
>> ---
>> drivers/mtd/nand/nand_bbt.c | 113 +++++++++++++++++++++++++++++++++++++++++++
>> include/linux/mtd/nand_bbt.h | 11 +++++
>> 2 files changed, 124 insertions(+)
>>
>
>>
>> +struct nand_bbt *nand_bbt_create(struct mtd_info *mtd,
>> + const struct nand_bbt_ops *ops,
>> + struct nand_chip_layout_info *info,
>
> Should be const struct nand_chip_layout_info *.
Fix this in v4
Thanks,
Peter Pan
Powered by blists - more mailing lists