diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-01-21 20:27:44 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:10:17 -0500 |
commit | 1402c8519acba215f5a6101b9e5ada07ab371273 (patch) | |
tree | c6a094fddd7a71c2bad51b9f5569349d8ade6144 /net/8021q | |
parent | f86e82fb547efe05457391df069cce7ab530b181 (diff) |
[VLAN]: sparse warning fix
Minor sparse warning fix.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/8021q')
-rw-r--r-- | net/8021q/vlanproc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/8021q/vlanproc.c b/net/8021q/vlanproc.c index 2a4e1aabb23b..a0ec47925597 100644 --- a/net/8021q/vlanproc.c +++ b/net/8021q/vlanproc.c | |||
@@ -220,6 +220,7 @@ static inline int is_vlan_dev(struct net_device *dev) | |||
220 | 220 | ||
221 | /* start read of /proc/net/vlan/config */ | 221 | /* start read of /proc/net/vlan/config */ |
222 | static void *vlan_seq_start(struct seq_file *seq, loff_t *pos) | 222 | static void *vlan_seq_start(struct seq_file *seq, loff_t *pos) |
223 | __acquires(dev_base_lock) | ||
223 | { | 224 | { |
224 | struct net_device *dev; | 225 | struct net_device *dev; |
225 | loff_t i = 1; | 226 | loff_t i = 1; |
@@ -261,6 +262,7 @@ static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos) | |||
261 | } | 262 | } |
262 | 263 | ||
263 | static void vlan_seq_stop(struct seq_file *seq, void *v) | 264 | static void vlan_seq_stop(struct seq_file *seq, void *v) |
265 | __releases(dev_base_lock) | ||
264 | { | 266 | { |
265 | read_unlock(&dev_base_lock); | 267 | read_unlock(&dev_base_lock); |
266 | } | 268 | } |