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-transaction.c b/drivers/firewire/core-transaction.c
index 404a035f104d..439d918bbaaf 100644
--- a/drivers/firewire/core-transaction.c
+++ b/drivers/firewire/core-transaction.c
@@ -620,7 +620,7 @@ struct fw_request {
 	u32 request_header[4];
 	int ack;
 	u32 length;
-	u32 data[0];
+	u32 data[];
 };
 
 static void free_response_callback(struct fw_packet *packet,