]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net: rds: fix const array syntax
authorGreg Dietsche <Gregory.Dietsche@cuw.edu>
Fri, 1 Jul 2011 23:16:19 +0000 (16:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Fri, 1 Jul 2011 23:16:19 +0000 (16:16 -0700)
Correct the syntax so that both array and pointer are const.

Signed-off-by: Greg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/tcp_stats.c

index d5898d03cd68655090966255652d9688dc0cb854..f8a7954f1f59ad093f236dab9cb4a79caf17cb87 100644 (file)
@@ -40,7 +40,7 @@
 DEFINE_PER_CPU(struct rds_tcp_statistics, rds_tcp_stats)
        ____cacheline_aligned;
 
-static const char const *rds_tcp_stat_names[] = {
+static const char * const rds_tcp_stat_names[] = {
        "tcp_data_ready_calls",
        "tcp_write_space_calls",
        "tcp_sndbuf_full",