Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1402c851 authored by Stephen Hemminger's avatar Stephen Hemminger Committed by David S. Miller
Browse files

[VLAN]: sparse warning fix



Minor sparse warning fix.

Signed-off-by: default avatarStephen Hemminger <shemminger@vyatta.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f86e82fb
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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);
}