hc
2024-05-11 297b60346df8beafee954a0fd7c2d64f33f3b9bc
kernel/drivers/net/ethernet/toshiba/ps3_gelic_wireless.h
....@@ -1,21 +1,9 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * PS3 gelic network driver.
34 *
45 * Copyright (C) 2007 Sony Computer Entertainment Inc.
56 * Copyright 2007 Sony Corporation
6
- *
7
- * This program is free software; you can redistribute it and/or modify
8
- * it under the terms of the GNU General Public License as published by
9
- * the Free Software Foundation version 2.
10
- *
11
- * This program is distributed in the hope that it will be useful,
12
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
13
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
- * GNU General Public License for more details.
15
- *
16
- * You should have received a copy of the GNU General Public License
17
- * along with this program; if not, write to the Free Software
18
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
197 */
208 #ifndef _GELIC_WIRELESS_H
219 #define _GELIC_WIRELESS_H
....@@ -170,7 +158,7 @@
170158 __be32 reserved2;
171159 __be32 reserved3;
172160 __be32 reserved4;
173
- u8 elements[0]; /* ie */
161
+ u8 elements[]; /* ie */
174162 } __packed;
175163
176164 /* the hypervisor returns bbs up to 16 */