hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/net/sched/em_nbyte.c
....@@ -1,10 +1,6 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * net/sched/em_nbyte.c N-Byte ematch
3
- *
4
- * This program is free software; you can redistribute it and/or
5
- * modify it under the terms of the GNU General Public License
6
- * as published by the Free Software Foundation; either version
7
- * 2 of the License, or (at your option) any later version.
84 *
95 * Authors: Thomas Graf <tgraf@suug.ch>
106 */
....@@ -20,7 +16,7 @@
2016
2117 struct nbyte_data {
2218 struct tcf_em_nbyte hdr;
23
- char pattern[0];
19
+ char pattern[];
2420 };
2521
2622 static int em_nbyte_change(struct net *net, void *data, int data_len,