forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-13 9d77db3c730780c8ef5ccd4b66403ff5675cfe4e
kernel/drivers/net/wireless/intersil/orinoco/hermes_dld.c
....@@ -64,7 +64,7 @@
6464 struct dblock {
6565 __le32 addr; /* adapter address where to write the block */
6666 __le16 len; /* length of the data only, in bytes */
67
- char data[0]; /* data to be written */
67
+ char data[]; /* data to be written */
6868 } __packed;
6969
7070 /*
....@@ -76,7 +76,7 @@
7676 __le32 id; /* record ID */
7777 __le32 addr; /* adapter address where to write the data */
7878 __le32 len; /* expected length of the data, in bytes */
79
- char next[0]; /* next PDR starts here */
79
+ char next[]; /* next PDR starts here */
8080 } __packed;
8181
8282 /*
....@@ -87,7 +87,7 @@
8787 struct pdi {
8888 __le16 len; /* length of ID and data, in words */
8989 __le16 id; /* record ID */
90
- char data[0]; /* plug data */
90
+ char data[]; /* plug data */
9191 } __packed;
9292
9393 /*** FW data block access functions ***/