hc
2024-02-20 102a0743326a03cd1a1202ceda21e175b7d3575c
kernel/drivers/w1/w1_netlink.h
....@@ -1,15 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * 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.
134 */
145
156 #ifndef __W1_NETLINK_H
....@@ -82,7 +73,7 @@
8273 __u32 res;
8374 } mst;
8475 } id;
85
- __u8 data[0];
76
+ __u8 data[];
8677 };
8778
8879 /**
....@@ -131,7 +122,7 @@
131122 __u8 cmd;
132123 __u8 res;
133124 __u16 len;
134
- __u8 data[0];
125
+ __u8 data[];
135126 };
136127
137128 #ifdef __KERNEL__