[NET]: Make all initialized struct seq_operations const. Make all initialized struct seq_operations in net/ const Signed-off-by: Philippe De Muyter <[email protected]> Signed-off-by: David S. Miller <[email protected]>
diff --git a/net/packet/af_packet.c b/net/packet/af_packet.c index f8b8301..7c27bd3 100644 --- a/net/packet/af_packet.c +++ b/net/packet/af_packet.c
@@ -1928,7 +1928,7 @@ return 0; } -static struct seq_operations packet_seq_ops = { +static const struct seq_operations packet_seq_ops = { .start = packet_seq_start, .next = packet_seq_next, .stop = packet_seq_stop,