mtd: rawnand: rockchip: Use flexible-array member instead of zero-length array
authorZou Wei <zou_wei@huawei.com>
Tue, 23 Mar 2021 13:11:37 +0000 (13:11 +0000)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 28 Mar 2021 17:13:39 +0000 (19:13 +0200)
commit5c8a620ab22b05eae7e480cb83ff599047b8aff4
treed4ed96dd58bc36c4afe7718c0c2b0509d9ae128d
parent33cebf701e98dd12b01d39d1c644387b27c1a627
mtd: rawnand: rockchip: Use flexible-array member instead of zero-length array

Suppresses the following coccinelle warning:

drivers/mtd/nand/raw/rockchip-nand-controller.c:162:4-8: WARNING use flexible-array member instead

Signed-off-by: Zou Wei <zou_wei@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210323131137.45552-1-zou_wei@huawei.com
drivers/mtd/nand/raw/rockchip-nand-controller.c