Commit 3e878b8d authored by Greg Dietsche's avatar Greg Dietsche Committed by David S. Miller

net: rds: fix const array syntax

Correct the syntax so that both array and pointer are const.
Signed-off-by: default avatarGreg Dietsche <Gregory.Dietsche@cuw.edu>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fddc5f3e
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
DEFINE_PER_CPU(struct rds_tcp_statistics, rds_tcp_stats) DEFINE_PER_CPU(struct rds_tcp_statistics, rds_tcp_stats)
____cacheline_aligned; ____cacheline_aligned;
static const char const *rds_tcp_stat_names[] = { static const char * const rds_tcp_stat_names[] = {
"tcp_data_ready_calls", "tcp_data_ready_calls",
"tcp_write_space_calls", "tcp_write_space_calls",
"tcp_sndbuf_full", "tcp_sndbuf_full",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment