Skip to content

Commit

Permalink
net: rds: fix const array syntax
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Greg Dietsche authored and David S. Miller committed Jul 1, 2011
1 parent fddc5f3 commit 3e878b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion net/rds/tcp_stats.c
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 3e878b8

Please sign in to comment.