.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Shared Transport Header file |
---|
3 | 4 | * To be included by the protocol stack drivers for |
---|
.. | .. |
---|
6 | 7 | * |
---|
7 | 8 | * Copyright (C) 2009-2010 Texas Instruments |
---|
8 | 9 | * Author: Pavan Savoy <pavan_savoy@ti.com> |
---|
9 | | - * |
---|
10 | | - * This program is free software; you can redistribute it and/or modify |
---|
11 | | - * it under the terms of the GNU General Public License version 2 as |
---|
12 | | - * published by the Free Software Foundation. |
---|
13 | | - * |
---|
14 | | - * This program is distributed in the hope that it will be useful, |
---|
15 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | | - * GNU General Public License for more details. |
---|
18 | | - * |
---|
19 | | - * You should have received a copy of the GNU General Public License |
---|
20 | | - * along with this program; if not, write to the Free Software |
---|
21 | | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
---|
22 | | - * |
---|
23 | 10 | */ |
---|
24 | 11 | |
---|
25 | 12 | #ifndef TI_WILINK_ST_H |
---|
.. | .. |
---|
308 | 295 | u32 magic; |
---|
309 | 296 | u32 version; |
---|
310 | 297 | u8 future[24]; |
---|
311 | | - u8 actions[0]; |
---|
| 298 | + u8 actions[]; |
---|
312 | 299 | } __attribute__ ((packed)); |
---|
313 | 300 | |
---|
314 | 301 | /** |
---|
.. | .. |
---|
318 | 305 | struct bts_action { |
---|
319 | 306 | u16 type; |
---|
320 | 307 | u16 size; |
---|
321 | | - u8 data[0]; |
---|
| 308 | + u8 data[]; |
---|
322 | 309 | } __attribute__ ((packed)); |
---|
323 | 310 | |
---|
324 | 311 | struct bts_action_send { |
---|
.. | .. |
---|
328 | 315 | struct bts_action_wait { |
---|
329 | 316 | u32 msec; |
---|
330 | 317 | u32 size; |
---|
331 | | - u8 data[0]; |
---|
| 318 | + u8 data[]; |
---|
332 | 319 | } __attribute__ ((packed)); |
---|
333 | 320 | |
---|
334 | 321 | struct bts_action_delay { |
---|