mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
[VLAN]: sparse warning fix
Minor sparse warning fix. Signed-off-by: Stephen Hemminger <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
f86e82fb54
commit
1402c8519a
1 changed files with 2 additions and 0 deletions
|
|
@ -220,6 +220,7 @@ static inline int is_vlan_dev(struct net_device *dev)
|
|||
|
||||
/* start read of /proc/net/vlan/config */
|
||||
static void *vlan_seq_start(struct seq_file *seq, loff_t *pos)
|
||||
__acquires(dev_base_lock)
|
||||
{
|
||||
struct net_device *dev;
|
||||
loff_t i = 1;
|
||||
|
|
@ -261,6 +262,7 @@ static void *vlan_seq_next(struct seq_file *seq, void *v, loff_t *pos)
|
|||
}
|
||||
|
||||
static void vlan_seq_stop(struct seq_file *seq, void *v)
|
||||
__releases(dev_base_lock)
|
||||
{
|
||||
read_unlock(&dev_base_lock);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue