summaryrefslogtreecommitdiffstats
path: root/net/rxrpc/misc.c
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2016-04-07 18:23:23 +0200
committerDavid S. Miller <davem@davemloft.net>2016-04-11 21:34:40 +0200
commit5b3e87f19e71b7a2f789c40de04704886932b5cf (patch)
treeeb929677075ea01cf42ce29fd0b9464f085aef7e /net/rxrpc/misc.c
parentrxrpc: Move some miscellaneous bits out into their own file (diff)
downloadlinux-5b3e87f19e71b7a2f789c40de04704886932b5cf.tar.xz
linux-5b3e87f19e71b7a2f789c40de04704886932b5cf.zip
rxrpc: Static arrays of strings should be const char *const[]
Static arrays of strings should be const char *const[]. Signed-off-by: David Howells <dhowells@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rxrpc/misc.c')
-rw-r--r--net/rxrpc/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rxrpc/misc.c b/net/rxrpc/misc.c
index 8ebeec3384e1..1afe9876e79f 100644
--- a/net/rxrpc/misc.c
+++ b/net/rxrpc/misc.c
@@ -58,7 +58,7 @@ unsigned int rxrpc_rx_mtu = 5692;
*/
unsigned int rxrpc_rx_jumbo_max = 4;
-const char *rxrpc_pkts[] = {
+const char *const rxrpc_pkts[] = {
"?00",
"DATA", "ACK", "BUSY", "ABORT", "ACKALL", "CHALL", "RESP", "DEBUG",
"?09", "?10", "?11", "?12", "VERSION", "?14", "?15"