diff options
Diffstat (limited to 'net/dccp/ccids/ccid3.c')
-rw-r--r-- | net/dccp/ccids/ccid3.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/dccp/ccids/ccid3.c b/net/dccp/ccids/ccid3.c index a27b7f4c19c5..f596ce149c3c 100644 --- a/net/dccp/ccids/ccid3.c +++ b/net/dccp/ccids/ccid3.c | |||
@@ -52,7 +52,7 @@ static int ccid3_debug; | |||
52 | #ifdef CONFIG_IP_DCCP_CCID3_DEBUG | 52 | #ifdef CONFIG_IP_DCCP_CCID3_DEBUG |
53 | static const char *ccid3_tx_state_name(enum ccid3_hc_tx_states state) | 53 | static const char *ccid3_tx_state_name(enum ccid3_hc_tx_states state) |
54 | { | 54 | { |
55 | static char *ccid3_state_names[] = { | 55 | static const char *const ccid3_state_names[] = { |
56 | [TFRC_SSTATE_NO_SENT] = "NO_SENT", | 56 | [TFRC_SSTATE_NO_SENT] = "NO_SENT", |
57 | [TFRC_SSTATE_NO_FBACK] = "NO_FBACK", | 57 | [TFRC_SSTATE_NO_FBACK] = "NO_FBACK", |
58 | [TFRC_SSTATE_FBACK] = "FBACK", | 58 | [TFRC_SSTATE_FBACK] = "FBACK", |
@@ -646,7 +646,7 @@ enum ccid3_fback_type { | |||
646 | #ifdef CONFIG_IP_DCCP_CCID3_DEBUG | 646 | #ifdef CONFIG_IP_DCCP_CCID3_DEBUG |
647 | static const char *ccid3_rx_state_name(enum ccid3_hc_rx_states state) | 647 | static const char *ccid3_rx_state_name(enum ccid3_hc_rx_states state) |
648 | { | 648 | { |
649 | static char *ccid3_rx_state_names[] = { | 649 | static const char *const ccid3_rx_state_names[] = { |
650 | [TFRC_RSTATE_NO_DATA] = "NO_DATA", | 650 | [TFRC_RSTATE_NO_DATA] = "NO_DATA", |
651 | [TFRC_RSTATE_DATA] = "DATA", | 651 | [TFRC_RSTATE_DATA] = "DATA", |
652 | [TFRC_RSTATE_TERM] = "TERM", | 652 | [TFRC_RSTATE_TERM] = "TERM", |