diff options
Diffstat (limited to 'net/atm/proc.c')
-rw-r--r-- | net/atm/proc.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/net/atm/proc.c b/net/atm/proc.c index 38de5ff61ecd..ab8419a324b6 100644 --- a/net/atm/proc.c +++ b/net/atm/proc.c | |||
@@ -151,8 +151,9 @@ static void *vcc_seq_next(struct seq_file *seq, void *v, loff_t *pos) | |||
151 | 151 | ||
152 | static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc) | 152 | static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc) |
153 | { | 153 | { |
154 | static const char *class_name[] = { "off","UBR","CBR","VBR","ABR" }; | 154 | static const char *const class_name[] = |
155 | static const char *aal_name[] = { | 155 | {"off","UBR","CBR","VBR","ABR"}; |
156 | static const char *const aal_name[] = { | ||
156 | "---", "1", "2", "3/4", /* 0- 3 */ | 157 | "---", "1", "2", "3/4", /* 0- 3 */ |
157 | "???", "5", "???", "???", /* 4- 7 */ | 158 | "???", "5", "???", "???", /* 4- 7 */ |
158 | "???", "???", "???", "???", /* 8-11 */ | 159 | "???", "???", "???", "???", /* 8-11 */ |
@@ -178,7 +179,7 @@ static void pvc_info(struct seq_file *seq, struct atm_vcc *vcc) | |||
178 | 179 | ||
179 | static const char *vcc_state(struct atm_vcc *vcc) | 180 | static const char *vcc_state(struct atm_vcc *vcc) |
180 | { | 181 | { |
181 | static const char *map[] = { ATM_VS2TXT_MAP }; | 182 | static const char *const map[] = { ATM_VS2TXT_MAP }; |
182 | 183 | ||
183 | return map[ATM_VF2VS(vcc->flags)]; | 184 | return map[ATM_VF2VS(vcc->flags)]; |
184 | } | 185 | } |
@@ -335,7 +336,7 @@ static const struct file_operations vcc_seq_fops = { | |||
335 | 336 | ||
336 | static int svc_seq_show(struct seq_file *seq, void *v) | 337 | static int svc_seq_show(struct seq_file *seq, void *v) |
337 | { | 338 | { |
338 | static char atm_svc_banner[] = | 339 | static const char atm_svc_banner[] = |
339 | "Itf VPI VCI State Remote\n"; | 340 | "Itf VPI VCI State Remote\n"; |
340 | 341 | ||
341 | if (v == SEQ_START_TOKEN) | 342 | if (v == SEQ_START_TOKEN) |