hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/include/net/nfc/nfc.h
....@@ -1,3 +1,4 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Copyright (C) 2011 Instituto Nokia de Tecnologia
34 * Copyright (C) 2014 Marvell International Ltd.
....@@ -5,19 +6,6 @@
56 * Authors:
67 * Lauro Ramos Venancio <lauro.venancio@openbossa.org>
78 * Aloisio Almeida Jr <aloisio.almeida@openbossa.org>
8
- *
9
- * This program is free software; you can redistribute it and/or modify
10
- * it under the terms of the GNU General Public License as published by
11
- * the Free Software Foundation; either version 2 of the License, or
12
- * (at your option) any later version.
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, see <http://www.gnu.org/licenses/>.
219 */
2210
2311 #ifndef __NET_NFC_H
....@@ -158,7 +146,7 @@
158146 u32 aid_len;
159147 u8 aid[NFC_MAX_AID_LENGTH];
160148 u8 params_len;
161
- u8 params[0];
149
+ u8 params[];
162150 } __packed;
163151
164152 struct nfc_genl_data {