[PPP]: Sparse warning fixes.
Fix a bunch of warnings in PPP and related drivers. Mostly because sparse doesn't like it when the the function is only marked private in the forward declaration. Signed-off-by: Stephen Hemminger <shemminger@vyatta.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
ac97f75faa
commit
3c582b30bc
@@ -989,6 +989,7 @@ out:
|
||||
}
|
||||
|
||||
static void *pppoe_seq_start(struct seq_file *seq, loff_t *pos)
|
||||
__acquires(pppoe_hash_lock)
|
||||
{
|
||||
loff_t l = *pos;
|
||||
|
||||
@@ -1022,6 +1023,7 @@ out:
|
||||
}
|
||||
|
||||
static void pppoe_seq_stop(struct seq_file *seq, void *v)
|
||||
__releases(pppoe_hash_lock)
|
||||
{
|
||||
read_unlock_bh(&pppoe_hash_lock);
|
||||
}
|
||||
|
Reference in New Issue
Block a user