hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/scsi/mvumi.h
....@@ -1,24 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Marvell UMI head file
34 *
45 * 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
226 */
237
248 #ifndef MVUMI_H
....@@ -146,7 +130,7 @@
146130 struct mvumi_hotplug_event {
147131 u16 size;
148132 u8 dummy[2];
149
- u8 bitmap[0];
133
+ u8 bitmap[];
150134 };
151135
152136 struct mvumi_driver_event {
....@@ -306,7 +290,7 @@
306290
307291 struct mvumi_ob_data {
308292 struct list_head list;
309
- unsigned char data[0];
293
+ unsigned char data[];
310294 };
311295
312296 struct version_info {