| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Marvell UMI head file |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright 2011 Marvell. <jyli@marvell.com> |
|---|
| 5 | | - * |
|---|
| 6 | | - * This file is licensed under GPLv2. |
|---|
| 7 | | - * |
|---|
| 8 | | - * This program is free software; you can redistribute it and/or |
|---|
| 9 | | - * modify it under the terms of the GNU General Public License as |
|---|
| 10 | | - * published by the Free Software Foundation; version 2 of the |
|---|
| 11 | | - * License. |
|---|
| 12 | | - * |
|---|
| 13 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 14 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 15 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
|---|
| 16 | | - * General Public License for more details. |
|---|
| 17 | | - * |
|---|
| 18 | | - * You should have received a copy of the GNU General Public License |
|---|
| 19 | | - * along with this program; if not, write to the Free Software |
|---|
| 20 | | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 |
|---|
| 21 | | - * USA |
|---|
| 22 | 6 | */ |
|---|
| 23 | 7 | |
|---|
| 24 | 8 | #ifndef MVUMI_H |
|---|
| .. | .. |
|---|
| 146 | 130 | struct mvumi_hotplug_event { |
|---|
| 147 | 131 | u16 size; |
|---|
| 148 | 132 | u8 dummy[2]; |
|---|
| 149 | | - u8 bitmap[0]; |
|---|
| 133 | + u8 bitmap[]; |
|---|
| 150 | 134 | }; |
|---|
| 151 | 135 | |
|---|
| 152 | 136 | struct mvumi_driver_event { |
|---|
| .. | .. |
|---|
| 306 | 290 | |
|---|
| 307 | 291 | struct mvumi_ob_data { |
|---|
| 308 | 292 | struct list_head list; |
|---|
| 309 | | - unsigned char data[0]; |
|---|
| 293 | + unsigned char data[]; |
|---|
| 310 | 294 | }; |
|---|
| 311 | 295 | |
|---|
| 312 | 296 | struct version_info { |
|---|