net: mark read-only arrays as const
authorJan Engelhardt <jengelh@medozas.de>
Wed, 5 Aug 2009 17:42:58 +0000 (10:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Aug 2009 17:42:58 +0000 (10:42 -0700)
commit36cbd3dcc10384f813ec0814255f576c84f2bcd4
treec3579edea972519d2f9ae99d7da9a5dd56e6f5c1
parentdb71789c01ae7b641f83c5aa64e7df25122f4b28
net: mark read-only arrays as const

String literals are constant, and usually, we can also tag the array
of pointers const too, moving it to the .rodata section.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
36 files changed:
include/net/ip_vs.h
include/net/irda/ircomm_event.h
include/net/irda/ircomm_tty_attach.h
include/net/irda/irlap_event.h
include/net/irda/irlmp_event.h
include/net/sctp/constants.h
net/8021q/vlanproc.c
net/atm/lec.c
net/atm/proc.c
net/bluetooth/af_bluetooth.c
net/bridge/br_stp.c
net/core/dev.c
net/core/net-sysfs.c
net/core/sock.c
net/dccp/ccids/ccid3.c
net/dccp/feat.c
net/dccp/proto.c
net/ipv4/fib_trie.c
net/ipv6/proc.c
net/irda/ircomm/ircomm_event.c
net/irda/ircomm/ircomm_tty_attach.c
net/irda/iriap.c
net/irda/irlan/irlan_common.c
net/irda/irlap.c
net/irda/irlap_event.c
net/irda/irlmp_event.c
net/llc/llc_proc.c
net/netfilter/ipvs/ip_vs_proto.c
net/netfilter/ipvs/ip_vs_proto_tcp.c
net/netfilter/ipvs/ip_vs_proto_udp.c
net/rds/ib_stats.c
net/rds/iw_stats.c
net/rds/rds.h
net/rds/stats.c
net/rxrpc/ar-ack.c
net/sctp/debug.c