diff options
author | Stephen Hemminger <shemminger@vyatta.com> | 2008-01-23 23:54:07 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:11:27 -0500 |
commit | 3c582b30bc2592081e9b23e253ca098fa7d57dc2 (patch) | |
tree | 258f0191bb66aee5de4fb2d19bf71d7c716bee87 /drivers/net/pppoe.c | |
parent | ac97f75faae2a18648145bc6bbcdd326bac6a1c2 (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.c | 2 |
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 | ||
991 | static void *pppoe_seq_start(struct seq_file *seq, loff_t *pos) | 991 | static 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 | ||
1024 | static void pppoe_seq_stop(struct seq_file *seq, void *v) | 1025 | static 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 | } |