forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/net/ethernet/brocade/bna/bnad.h
....@@ -1,14 +1,6 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /*
23 * Linux network driver for QLogic BR-series Converged Network Adapter.
3
- *
4
- * This program is free software; you can redistribute it and/or modify it
5
- * under the terms of the GNU General Public License (GPL) Version 2 as
6
- * published by the Free Software Foundation
7
- *
8
- * This program is distributed in the hope that it will be useful, but
9
- * WITHOUT ANY WARRANTY; without even the implied warranty of
10
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
- * General Public License for more details.
124 */
135 /*
146 * Copyright (c) 2005-2014 Brocade Communications Systems, Inc.
....@@ -71,8 +63,6 @@
7163 */
7264 #define BNAD_NAME "bna"
7365 #define BNAD_NAME_LEN 64
74
-
75
-#define BNAD_VERSION "3.2.25.1"
7666
7767 #define BNAD_MAILBOX_MSIX_INDEX 0
7868 #define BNAD_MAILBOX_MSIX_VECTORS 1
....@@ -261,7 +251,7 @@
261251 int alloc_order;
262252 u32 map_size;
263253 enum bnad_rxbuf_type type;
264
- struct bnad_rx_unmap unmap[0] ____cacheline_aligned;
254
+ struct bnad_rx_unmap unmap[] ____cacheline_aligned;
265255 };
266256
267257 #define BNAD_PCI_DEV_IS_CAT2(_bnad) \