Re: [PATCH v4 02/19] mtd: rawnand: Only use u8 instead of uint8_t in nand_chip structure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 25 May 2020 19:42:22 +0200
Miquel Raynal <miquel.raynal@xxxxxxxxxxx> wrote:

> Mechanical change to avoid using old types.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>

Reviewed-by: Boris Brezillon <boris.brezillon@xxxxxxxxxxxxx>

Same comment as for patch 1: I'd prefer to have the BBT code transition
to  nanddev_bbt_xxx() and re-use the generic layer, but I guess that'll
have to wait.

> ---
>  include/linux/mtd/rawnand.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/include/linux/mtd/rawnand.h b/include/linux/mtd/rawnand.h
> index 8a1e0192f78e..7d62e0e719ac 100644
> --- a/include/linux/mtd/rawnand.h
> +++ b/include/linux/mtd/rawnand.h
> @@ -1141,13 +1141,13 @@ struct nand_chip {
>  	int (*suspend)(struct nand_chip *chip);
>  	void (*resume)(struct nand_chip *chip);
>  
> -	uint8_t *oob_poi;
> +	u8 *oob_poi;
>  	struct nand_controller *controller;
>  
>  	struct nand_ecc_ctrl ecc;
>  	unsigned long buf_align;
>  
> -	uint8_t *bbt;
> +	u8 *bbt;
>  	struct nand_bbt_descr *bbt_td;
>  	struct nand_bbt_descr *bbt_md;
>  


______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux