forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/net/ethernet/tehuti/tehuti.h
....@@ -1,11 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-or-later */
12 /*
23 * Tehuti Networks(R) Network Driver
34 * Copyright (C) 2007 Tehuti Networks Ltd. All rights reserved
4
- *
5
- * This program is free software; you can redistribute it and/or modify
6
- * it under the terms of the GNU General Public License as published by
7
- * the Free Software Foundation; either version 2 of the License, or
8
- * (at your option) any later version.
95 */
106
117 #ifndef _TEHUTI_H
....@@ -334,7 +330,7 @@
334330 u16 length;
335331 u32 va_lo;
336332 u32 va_hi;
337
- struct pbl pbl[0]; /* Fragments */
333
+ struct pbl pbl[]; /* Fragments */
338334 } __packed;
339335
340336 /* Register region size */