diff options
Diffstat (limited to 'net/sctp/debug.c')
-rw-r--r-- | net/sctp/debug.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/net/sctp/debug.c b/net/sctp/debug.c index 7ff548a30cfb..bf24fa697de2 100644 --- a/net/sctp/debug.c +++ b/net/sctp/debug.c | |||
@@ -52,7 +52,7 @@ int sctp_debug_flag = 1; /* Initially enable DEBUG */ | |||
52 | #endif /* SCTP_DEBUG */ | 52 | #endif /* SCTP_DEBUG */ |
53 | 53 | ||
54 | /* These are printable forms of Chunk ID's from section 3.1. */ | 54 | /* These are printable forms of Chunk ID's from section 3.1. */ |
55 | static const char *sctp_cid_tbl[SCTP_NUM_BASE_CHUNK_TYPES] = { | 55 | static const char *const sctp_cid_tbl[SCTP_NUM_BASE_CHUNK_TYPES] = { |
56 | "DATA", | 56 | "DATA", |
57 | "INIT", | 57 | "INIT", |
58 | "INIT_ACK", | 58 | "INIT_ACK", |
@@ -97,7 +97,7 @@ const char *sctp_cname(const sctp_subtype_t cid) | |||
97 | } | 97 | } |
98 | 98 | ||
99 | /* These are printable forms of the states. */ | 99 | /* These are printable forms of the states. */ |
100 | const char *sctp_state_tbl[SCTP_STATE_NUM_STATES] = { | 100 | const char *const sctp_state_tbl[SCTP_STATE_NUM_STATES] = { |
101 | "STATE_EMPTY", | 101 | "STATE_EMPTY", |
102 | "STATE_CLOSED", | 102 | "STATE_CLOSED", |
103 | "STATE_COOKIE_WAIT", | 103 | "STATE_COOKIE_WAIT", |
@@ -110,7 +110,7 @@ const char *sctp_state_tbl[SCTP_STATE_NUM_STATES] = { | |||
110 | }; | 110 | }; |
111 | 111 | ||
112 | /* Events that could change the state of an association. */ | 112 | /* Events that could change the state of an association. */ |
113 | const char *sctp_evttype_tbl[] = { | 113 | const char *const sctp_evttype_tbl[] = { |
114 | "EVENT_T_unknown", | 114 | "EVENT_T_unknown", |
115 | "EVENT_T_CHUNK", | 115 | "EVENT_T_CHUNK", |
116 | "EVENT_T_TIMEOUT", | 116 | "EVENT_T_TIMEOUT", |
@@ -119,7 +119,7 @@ const char *sctp_evttype_tbl[] = { | |||
119 | }; | 119 | }; |
120 | 120 | ||
121 | /* Return value of a state function */ | 121 | /* Return value of a state function */ |
122 | const char *sctp_status_tbl[] = { | 122 | const char *const sctp_status_tbl[] = { |
123 | "DISPOSITION_DISCARD", | 123 | "DISPOSITION_DISCARD", |
124 | "DISPOSITION_CONSUME", | 124 | "DISPOSITION_CONSUME", |
125 | "DISPOSITION_NOMEM", | 125 | "DISPOSITION_NOMEM", |
@@ -132,7 +132,7 @@ const char *sctp_status_tbl[] = { | |||
132 | }; | 132 | }; |
133 | 133 | ||
134 | /* Printable forms of primitives */ | 134 | /* Printable forms of primitives */ |
135 | static const char *sctp_primitive_tbl[SCTP_NUM_PRIMITIVE_TYPES] = { | 135 | static const char *const sctp_primitive_tbl[SCTP_NUM_PRIMITIVE_TYPES] = { |
136 | "PRIMITIVE_ASSOCIATE", | 136 | "PRIMITIVE_ASSOCIATE", |
137 | "PRIMITIVE_SHUTDOWN", | 137 | "PRIMITIVE_SHUTDOWN", |
138 | "PRIMITIVE_ABORT", | 138 | "PRIMITIVE_ABORT", |
@@ -149,7 +149,7 @@ const char *sctp_pname(const sctp_subtype_t id) | |||
149 | return "unknown_primitive"; | 149 | return "unknown_primitive"; |
150 | } | 150 | } |
151 | 151 | ||
152 | static const char *sctp_other_tbl[] = { | 152 | static const char *const sctp_other_tbl[] = { |
153 | "NO_PENDING_TSN", | 153 | "NO_PENDING_TSN", |
154 | "ICMP_PROTO_UNREACH", | 154 | "ICMP_PROTO_UNREACH", |
155 | }; | 155 | }; |
@@ -162,7 +162,7 @@ const char *sctp_oname(const sctp_subtype_t id) | |||
162 | return "unknown 'other' event"; | 162 | return "unknown 'other' event"; |
163 | } | 163 | } |
164 | 164 | ||
165 | static const char *sctp_timer_tbl[] = { | 165 | static const char *const sctp_timer_tbl[] = { |
166 | "TIMEOUT_NONE", | 166 | "TIMEOUT_NONE", |
167 | "TIMEOUT_T1_COOKIE", | 167 | "TIMEOUT_T1_COOKIE", |
168 | "TIMEOUT_T1_INIT", | 168 | "TIMEOUT_T1_INIT", |