diff options
Diffstat (limited to 'net/bridge/br_stp.c')
-rw-r--r-- | net/bridge/br_stp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/br_stp.c b/net/bridge/br_stp.c index 0660515f3992..fd3f8d6c0998 100644 --- a/net/bridge/br_stp.c +++ b/net/bridge/br_stp.c | |||
@@ -21,7 +21,7 @@ | |||
21 | */ | 21 | */ |
22 | #define MESSAGE_AGE_INCR ((HZ < 256) ? 1 : (HZ/256)) | 22 | #define MESSAGE_AGE_INCR ((HZ < 256) ? 1 : (HZ/256)) |
23 | 23 | ||
24 | static const char *br_port_state_names[] = { | 24 | static const char *const br_port_state_names[] = { |
25 | [BR_STATE_DISABLED] = "disabled", | 25 | [BR_STATE_DISABLED] = "disabled", |
26 | [BR_STATE_LISTENING] = "listening", | 26 | [BR_STATE_LISTENING] = "listening", |
27 | [BR_STATE_LEARNING] = "learning", | 27 | [BR_STATE_LEARNING] = "learning", |