Skip to content
Commit 5c8a620a authored by Zou Wei's avatar Zou Wei Committed by Miquel Raynal
Browse files

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: default avatarZou Wei <zou_wei@huawei.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210323131137.45552-1-zou_wei@huawei.com
parent 33cebf70
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment