hc
2024-01-31 f9004dbfff8a3fbbd7e2a88c8a4327c7f2f8e5b2
kernel/include/net/cfg802154.h
....@@ -1,14 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Copyright (C) 2007, 2008, 2009 Siemens AG
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 version 2
6
- * as published by the Free Software Foundation.
7
- *
8
- * This program is distributed in the hope that it will be useful,
9
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
10
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
- * GNU General Public License for more details.
124 *
135 * Written by:
146 * Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
....@@ -222,7 +214,7 @@
222214 /* the network namespace this phy lives in currently */
223215 possible_net_t _net;
224216
225
- char priv[0] __aligned(NETDEV_ALIGN);
217
+ char priv[] __aligned(NETDEV_ALIGN);
226218 };
227219
228220 static inline struct net *wpan_phy_net(struct wpan_phy *wpan_phy)