| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) 2003 Evgeniy Polyakov <zbr@ioremap.net> |
|---|
| 3 | | - * |
|---|
| 4 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 5 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 6 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 7 | | - * (at your option) any later version. |
|---|
| 8 | | - * |
|---|
| 9 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 10 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 11 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 12 | | - * GNU General Public License for more details. |
|---|
| 13 | 4 | */ |
|---|
| 14 | 5 | |
|---|
| 15 | 6 | #ifndef __W1_NETLINK_H |
|---|
| .. | .. |
|---|
| 82 | 73 | __u32 res; |
|---|
| 83 | 74 | } mst; |
|---|
| 84 | 75 | } id; |
|---|
| 85 | | - __u8 data[0]; |
|---|
| 76 | + __u8 data[]; |
|---|
| 86 | 77 | }; |
|---|
| 87 | 78 | |
|---|
| 88 | 79 | /** |
|---|
| .. | .. |
|---|
| 131 | 122 | __u8 cmd; |
|---|
| 132 | 123 | __u8 res; |
|---|
| 133 | 124 | __u16 len; |
|---|
| 134 | | - __u8 data[0]; |
|---|
| 125 | + __u8 data[]; |
|---|
| 135 | 126 | }; |
|---|
| 136 | 127 | |
|---|
| 137 | 128 | #ifdef __KERNEL__ |
|---|