projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fddc5f3
)
net: rds: fix const array syntax
author
Greg Dietsche
<Gregory.Dietsche@cuw.edu>
Fri, 1 Jul 2011 23:16:19 +0000
(16:16 -0700)
committer
David S. Miller
<davem@davemloft.net>
Fri, 1 Jul 2011 23:16:19 +0000
(16:16 -0700)
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>
net/rds/tcp_stats.c
patch
|
blob
|
blame
|
history
diff --git
a/net/rds/tcp_stats.c
b/net/rds/tcp_stats.c
index d5898d03cd68655090966255652d9688dc0cb854..f8a7954f1f59ad093f236dab9cb4a79caf17cb87 100644
(file)
--- a/
net/rds/tcp_stats.c
+++ b/
net/rds/tcp_stats.c
@@
-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",