mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
fddc5f3e91
commit
3e878b8d54
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue