VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   32 Branches   54 Tags
author: Gustavo A. R. Silva <gustavoars@kernel.org> 2020-05-28 09:35:11 -0500 committer: Gustavo A. R. Silva <gustavoars@kernel.org> 2020-06-15 23:08:31 -0500 commit: c38e7e212acdb52dc8c0553340050b02e4a3f848 parent: 6b5679d2378324d0ed1c02c8e828b3b8687d3b08
Commit Summary:
firewire: ohci: Replace zero-length array with flexible-array
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/firewire/core-cdev.c b/drivers/firewire/core-cdev.c
index c7ea4f2d5ca6..fb6c651214f3 100644
--- a/drivers/firewire/core-cdev.c
+++ b/drivers/firewire/core-cdev.c
@@ -117,7 +117,7 @@ struct inbound_transaction_resource {
 struct descriptor_resource {
 	struct client_resource resource;
 	struct fw_descriptor descriptor;
-	u32 data[0];
+	u32 data[];
 };
 
 struct iso_resource {