diff options
author | Greg Dietsche <Gregory.Dietsche@cuw.edu> | 2011-07-01 19:16:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-01 19:16:19 -0400 |
commit | 3e878b8d54e0fc12df363ee8e4a638c8147aac98 (patch) | |
tree | dd513521932999610508ba0860868b2062e7a661 /net/rds | |
parent | fddc5f3e9164858cd9264a17580f9fc5ad948458 (diff) |
net: rds: fix const array syntax
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>
Diffstat (limited to 'net/rds')
-rw-r--r-- | net/rds/tcp_stats.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/rds/tcp_stats.c b/net/rds/tcp_stats.c index d5898d03cd68..f8a7954f1f59 100644 --- a/net/rds/tcp_stats.c +++ b/net/rds/tcp_stats.c | |||
@@ -40,7 +40,7 @@ | |||
40 | DEFINE_PER_CPU(struct rds_tcp_statistics, rds_tcp_stats) | 40 | DEFINE_PER_CPU(struct rds_tcp_statistics, rds_tcp_stats) |
41 | ____cacheline_aligned; | 41 | ____cacheline_aligned; |
42 | 42 | ||
43 | static const char const *rds_tcp_stat_names[] = { | 43 | static const char * const rds_tcp_stat_names[] = { |
44 | "tcp_data_ready_calls", | 44 | "tcp_data_ready_calls", |
45 | "tcp_write_space_calls", | 45 | "tcp_write_space_calls", |
46 | "tcp_sndbuf_full", | 46 | "tcp_sndbuf_full", |