forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-31 f70575805708cabdedea7498aaa3f710fde4d920
kernel/drivers/infiniband/hw/cxgb4/t4fw_ri_api.h
....@@ -123,7 +123,7 @@
123123 __be32 len0;
124124 __be64 addr0;
125125 #ifndef C99_NOT_SUPPORTED
126
- struct fw_ri_dsge_pair sge[0];
126
+ struct fw_ri_dsge_pair sge[];
127127 #endif
128128 };
129129
....@@ -139,7 +139,7 @@
139139 __be16 nsge;
140140 __be32 r2;
141141 #ifndef C99_NOT_SUPPORTED
142
- struct fw_ri_sge sge[0];
142
+ struct fw_ri_sge sge[];
143143 #endif
144144 };
145145
....@@ -149,7 +149,7 @@
149149 __be16 r2;
150150 __be32 immdlen;
151151 #ifndef C99_NOT_SUPPORTED
152
- __u8 data[0];
152
+ __u8 data[];
153153 #endif
154154 };
155155
....@@ -321,7 +321,7 @@
321321 __be32 len16_pkd;
322322 __u64 cookie;
323323 #ifndef C99_NOT_SUPPORTED
324
- struct fw_ri_res res[0];
324
+ struct fw_ri_res res[];
325325 #endif
326326 };
327327