Commit 3e878b8d54e0fc12df363ee8e4a638c8147aac98

Authored by Greg Dietsche
Committed by David S. Miller
1 parent fddc5f3e91

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -40,7 +40,7 @@
40 40 DEFINE_PER_CPU(struct rds_tcp_statistics, rds_tcp_stats)
41 41 ____cacheline_aligned;
42 42  
43   -static const char const *rds_tcp_stat_names[] = {
  43 +static const char * const rds_tcp_stat_names[] = {
44 44 "tcp_data_ready_calls",
45 45 "tcp_write_space_calls",
46 46 "tcp_sndbuf_full",