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.h b/drivers/firewire/core.h
index 4b0e4ee655a1..71d5f16f311c 100644
--- a/drivers/firewire/core.h
+++ b/drivers/firewire/core.h
@@ -191,7 +191,7 @@ struct fw_node {
 	/* Upper layer specific data. */
 	void *data;
 
-	struct fw_node *ports[0];
+	struct fw_node *ports[];
 };
 
 static inline struct fw_node *fw_node_get(struct fw_node *node)