| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (C) 2011 Instituto Nokia de Tecnologia |
|---|
| 3 | 4 | * Copyright (C) 2014 Marvell International Ltd. |
|---|
| .. | .. |
|---|
| 5 | 6 | * Authors: |
|---|
| 6 | 7 | * Lauro Ramos Venancio <lauro.venancio@openbossa.org> |
|---|
| 7 | 8 | * 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/>. |
|---|
| 21 | 9 | */ |
|---|
| 22 | 10 | |
|---|
| 23 | 11 | #ifndef __NET_NFC_H |
|---|
| .. | .. |
|---|
| 158 | 146 | u32 aid_len; |
|---|
| 159 | 147 | u8 aid[NFC_MAX_AID_LENGTH]; |
|---|
| 160 | 148 | u8 params_len; |
|---|
| 161 | | - u8 params[0]; |
|---|
| 149 | + u8 params[]; |
|---|
| 162 | 150 | } __packed; |
|---|
| 163 | 151 | |
|---|
| 164 | 152 | struct nfc_genl_data { |
|---|