[PATCH -next] mtd: rawnand: rockchip: Use flexible-array member instead of zero-length array

Miquel Raynal miquel.raynal at bootlin.com
Sun Mar 28 18:14:22 BST 2021


On Tue, 2021-03-23 at 13:11:37 UTC, Zou Wei wrote:
> 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 at huawei.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel



More information about the linux-arm-kernel mailing list