aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pppoe.c
diff options
context:
space:
mode:
authorStephen Hemminger <shemminger@vyatta.com>2008-01-23 23:54:07 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:11:27 -0500
commit3c582b30bc2592081e9b23e253ca098fa7d57dc2 (patch)
tree258f0191bb66aee5de4fb2d19bf71d7c716bee87 /drivers/net/pppoe.c
parentac97f75faae2a18648145bc6bbcdd326bac6a1c2 (diff)
[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>
Diffstat (limited to 'drivers/net/pppoe.c')
-rw-r--r--drivers/net/pppoe.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/pppoe.c b/drivers/net/pppoe.c
index a005d8f4c38e..ac0ac98b19cd 100644
--- a/drivers/net/pppoe.c
+++ b/drivers/net/pppoe.c
@@ -989,6 +989,7 @@ out:
989} 989}
990 990
991static void *pppoe_seq_start(struct seq_file *seq, loff_t *pos) 991static void *pppoe_seq_start(struct seq_file *seq, loff_t *pos)
992 __acquires(pppoe_hash_lock)
992{ 993{
993 loff_t l = *pos; 994 loff_t l = *pos;
994 995
@@ -1022,6 +1023,7 @@ out:
1022} 1023}
1023 1024
1024static void pppoe_seq_stop(struct seq_file *seq, void *v) 1025static void pppoe_seq_stop(struct seq_file *seq, void *v)
1026 __releases(pppoe_hash_lock)
1025{ 1027{
1026 read_unlock_bh(&pppoe_hash_lock); 1028 read_unlock_bh(&pppoe_hash_lock);
1027} 1029}