.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * 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. |
---|
8 | 4 | * |
---|
9 | 5 | * Authors: Thomas Graf <tgraf@suug.ch> |
---|
10 | 6 | */ |
---|
.. | .. |
---|
20 | 16 | |
---|
21 | 17 | struct nbyte_data { |
---|
22 | 18 | struct tcf_em_nbyte hdr; |
---|
23 | | - char pattern[0]; |
---|
| 19 | + char pattern[]; |
---|
24 | 20 | }; |
---|
25 | 21 | |
---|
26 | 22 | static int em_nbyte_change(struct net *net, void *data, int data_len, |
---|