diff options
author | Eric Dumazet <dada1@cosmosbay.com> | 2008-01-15 06:29:50 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:02:43 -0500 |
commit | 5c17d5f11212af5f12b91991b1132cf301dd1f28 (patch) | |
tree | d2484d9eb389c9f54c73c413f442dd97840d7976 /net/atm/lec.c | |
parent | ca629f2472762088b105cd6081bf9aaa56d4547d (diff) |
[ATM]: Suppress some sparse warnings
CHECK net/atm/br2684.c
net/atm/br2684.c:665:13: warning: context imbalance in 'br2684_seq_start' - wrong count at exit
net/atm/br2684.c:676:13: warning: context imbalance in 'br2684_seq_stop' - unexpected unlock
CHECK net/atm/lec.c
net/atm/lec.c:196:23: warning: expensive signed divide
CHECK net/atm/proc.c
net/atm/proc.c:151:14: warning: context imbalance in 'vcc_seq_start' - wrong count at exit
net/atm/proc.c:154:13: warning: context imbalance in 'vcc_seq_stop' - unexpected unlock
Signed-off-by: Eric Dumazet <dada1@cosmosbay.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/atm/lec.c')
-rw-r--r-- | net/atm/lec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/lec.c b/net/atm/lec.c index 0a9c4261968f..1a8c4c6c0cd0 100644 --- a/net/atm/lec.c +++ b/net/atm/lec.c | |||
@@ -176,7 +176,7 @@ static void lec_handle_bridge(struct sk_buff *skb, struct net_device *dev) | |||
176 | static unsigned char *get_tr_dst(unsigned char *packet, unsigned char *rdesc) | 176 | static unsigned char *get_tr_dst(unsigned char *packet, unsigned char *rdesc) |
177 | { | 177 | { |
178 | struct trh_hdr *trh; | 178 | struct trh_hdr *trh; |
179 | int riflen, num_rdsc; | 179 | unsigned int riflen, num_rdsc; |
180 | 180 | ||
181 | trh = (struct trh_hdr *)packet; | 181 | trh = (struct trh_hdr *)packet; |
182 | if (trh->daddr[0] & (uint8_t) 0x80) | 182 | if (trh->daddr[0] & (uint8_t) 0x80) |