forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/drivers/net/ethernet/sfc/falcon/net_driver.h
....@@ -1,11 +1,8 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /****************************************************************************
23 * Driver for Solarflare network controllers and boards
34 * Copyright 2005-2006 Fen Systems Ltd.
45 * Copyright 2005-2013 Solarflare Communications Inc.
5
- *
6
- * This program is free software; you can redistribute it and/or modify it
7
- * under the terms of the GNU General Public License version 2 as published
8
- * by the Free Software Foundation, incorporated herein by reference.
96 */
107
118 /* Common definitions for all Efx net driver code */
....@@ -291,7 +288,7 @@
291288 struct ef4_rx_page_state {
292289 dma_addr_t dma_addr;
293290
294
- unsigned int __pad[0] ____cacheline_aligned;
291
+ unsigned int __pad[] ____cacheline_aligned;
295292 };
296293
297294 /**