* [PATCH -next] mtd: rawnand: rockchip: Use flexible-array member instead of zero-length array
@ 2021-03-23 13:11 ` Zou Wei
0 siblings, 0 replies; 8+ messages in thread
From: Zou Wei @ 2021-03-23 13:11 UTC (permalink / raw)
To: miquel.raynal, richard, vigneshr, heiko
Cc: yifeng.zhao, linux-mtd, linux-arm-kernel, linux-rockchip,
linux-kernel, Zou Wei
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>
---
drivers/mtd/nand/raw/rockchip-nand-controller.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/rockchip-nand-controller.c b/drivers/mtd/nand/raw/rockchip-nand-controller.c
index 796b678cb108..b5405bc7ca3a 100644
--- a/drivers/mtd/nand/raw/rockchip-nand-controller.c
+++ b/drivers/mtd/nand/raw/rockchip-nand-controller.c
@@ -159,7 +159,7 @@ struct rk_nfc_nand_chip {
u32 timing;
u8 nsels;
- u8 sels[0];
+ u8 sels[];
/* Nothing after this field. */
};
--
2.17.1
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH -next] mtd: rawnand: rockchip: Use flexible-array member instead of zero-length array
@ 2021-03-23 13:11 ` Zou Wei
0 siblings, 0 replies; 8+ messages in thread
From: Zou Wei @ 2021-03-23 13:11 UTC (permalink / raw)
To: miquel.raynal, richard, vigneshr, heiko
Cc: yifeng.zhao, linux-mtd, linux-arm-kernel, linux-rockchip,
linux-kernel, Zou Wei
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>
---
drivers/mtd/nand/raw/rockchip-nand-controller.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/rockchip-nand-controller.c b/drivers/mtd/nand/raw/rockchip-nand-controller.c
index 796b678cb108..b5405bc7ca3a 100644
--- a/drivers/mtd/nand/raw/rockchip-nand-controller.c
+++ b/drivers/mtd/nand/raw/rockchip-nand-controller.c
@@ -159,7 +159,7 @@ struct rk_nfc_nand_chip {
u32 timing;
u8 nsels;
- u8 sels[0];
+ u8 sels[];
/* Nothing after this field. */
};
--
2.17.1
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH -next] mtd: rawnand: rockchip: Use flexible-array member instead of zero-length array
@ 2021-03-23 13:11 ` Zou Wei
0 siblings, 0 replies; 8+ messages in thread
From: Zou Wei @ 2021-03-23 13:11 UTC (permalink / raw)
To: miquel.raynal, richard, vigneshr, heiko
Cc: yifeng.zhao, linux-mtd, linux-arm-kernel, linux-rockchip,
linux-kernel, Zou Wei
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>
---
drivers/mtd/nand/raw/rockchip-nand-controller.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/rockchip-nand-controller.c b/drivers/mtd/nand/raw/rockchip-nand-controller.c
index 796b678cb108..b5405bc7ca3a 100644
--- a/drivers/mtd/nand/raw/rockchip-nand-controller.c
+++ b/drivers/mtd/nand/raw/rockchip-nand-controller.c
@@ -159,7 +159,7 @@ struct rk_nfc_nand_chip {
u32 timing;
u8 nsels;
- u8 sels[0];
+ u8 sels[];
/* Nothing after this field. */
};
--
2.17.1
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH -next] mtd: rawnand: rockchip: Use flexible-array member instead of zero-length array
@ 2021-03-23 13:11 ` Zou Wei
0 siblings, 0 replies; 8+ messages in thread
From: Zou Wei @ 2021-03-23 13:11 UTC (permalink / raw)
To: miquel.raynal, richard, vigneshr, heiko
Cc: yifeng.zhao, linux-mtd, linux-arm-kernel, linux-rockchip,
linux-kernel, Zou Wei
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>
---
drivers/mtd/nand/raw/rockchip-nand-controller.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mtd/nand/raw/rockchip-nand-controller.c b/drivers/mtd/nand/raw/rockchip-nand-controller.c
index 796b678cb108..b5405bc7ca3a 100644
--- a/drivers/mtd/nand/raw/rockchip-nand-controller.c
+++ b/drivers/mtd/nand/raw/rockchip-nand-controller.c
@@ -159,7 +159,7 @@ struct rk_nfc_nand_chip {
u32 timing;
u8 nsels;
- u8 sels[0];
+ u8 sels[];
/* Nothing after this field. */
};
--
2.17.1
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH -next] mtd: rawnand: rockchip: Use flexible-array member instead of zero-length array
2021-03-23 13:11 ` Zou Wei
(?)
(?)
@ 2021-03-28 17:14 ` Miquel Raynal
-1 siblings, 0 replies; 8+ messages in thread
From: Miquel Raynal @ 2021-03-28 17:14 UTC (permalink / raw)
To: Zou Wei, miquel.raynal, richard, vigneshr, heiko
Cc: yifeng.zhao, linux-mtd, linux-arm-kernel, linux-rockchip, linux-kernel
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@huawei.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH -next] mtd: rawnand: rockchip: Use flexible-array member instead of zero-length array
@ 2021-03-28 17:14 ` Miquel Raynal
0 siblings, 0 replies; 8+ messages in thread
From: Miquel Raynal @ 2021-03-28 17:14 UTC (permalink / raw)
To: Zou Wei, miquel.raynal, richard, vigneshr, heiko
Cc: yifeng.zhao, linux-mtd, linux-arm-kernel, linux-rockchip, linux-kernel
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@huawei.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
______________________________________________________
Linux MTD discussion mailing list
http://lists.infradead.org/mailman/listinfo/linux-mtd/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH -next] mtd: rawnand: rockchip: Use flexible-array member instead of zero-length array
@ 2021-03-28 17:14 ` Miquel Raynal
0 siblings, 0 replies; 8+ messages in thread
From: Miquel Raynal @ 2021-03-28 17:14 UTC (permalink / raw)
To: Zou Wei, miquel.raynal, richard, vigneshr, heiko
Cc: yifeng.zhao, linux-mtd, linux-arm-kernel, linux-rockchip, linux-kernel
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@huawei.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH -next] mtd: rawnand: rockchip: Use flexible-array member instead of zero-length array
@ 2021-03-28 17:14 ` Miquel Raynal
0 siblings, 0 replies; 8+ messages in thread
From: Miquel Raynal @ 2021-03-28 17:14 UTC (permalink / raw)
To: Zou Wei, miquel.raynal, richard, vigneshr, heiko
Cc: yifeng.zhao, linux-mtd, linux-arm-kernel, linux-rockchip, linux-kernel
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@huawei.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2021-03-29 21:38 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23 13:11 [PATCH -next] mtd: rawnand: rockchip: Use flexible-array member instead of zero-length array Zou Wei
2021-03-23 13:11 ` Zou Wei
2021-03-23 13:11 ` Zou Wei
2021-03-23 13:11 ` Zou Wei
2021-03-28 17:14 ` Miquel Raynal
2021-03-28 17:14 ` Miquel Raynal
2021-03-28 17:14 ` Miquel Raynal
2021-03-28 17:14 ` Miquel Raynal
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.