commit | c4cabc08d09e4b107b685e08bdec8a38a91089d8 | [log] [tgz] |
---|---|---|
author | Miquel Raynal <miquel.raynal@bootlin.com> | Fri May 29 13:12:55 2020 +0200 |
committer | Miquel Raynal <miquel.raynal@bootlin.com> | Fri Jun 26 08:35:04 2020 +0200 |
tree | 86f4f7d6986da01a79d1ff53e2a791a873d2a308 | |
parent | 85f54c5588885cc3b5be4a07498dd0755de9f5cf [diff] |
mtd: rawnand: Use unsigned types for nand_chip unsigned values page_shift, phys_erase_shift, bbt_erase_shift, chip_shift, pagemask, subpagesize and badblockbits are all positive values, so declare them as unsigned. Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Link: https://lore.kernel.org/linux-mtd/20200529111322.7184-2-miquel.raynal@bootlin.com