[AX25]: sparse cleanups

2 messages, 2 authors, 2008-01-14 · open the first message on its own page

[AX25]: sparse cleanups

From: Eric Dumazet <hidden>
Date: 2008-01-13 11:01:39

net/ax25/ax25_route.c:251:13: warning: context imbalance in 
'ax25_rt_seq_start' - wrong count at exit
net/ax25/ax25_route.c:276:13: warning: context imbalance in 'ax25_rt_seq_stop' 
- unexpected unlock
net/ax25/ax25_std_timer.c:65:25: warning: expensive signed divide
net/ax25/ax25_uid.c:46:1: warning: symbol 'ax25_uid_list' was not declared. 
Should it be static?
net/ax25/ax25_uid.c:146:13: warning: context imbalance in 'ax25_uid_seq_start' 
- wrong count at exit
net/ax25/ax25_uid.c:169:13: warning: context imbalance in 'ax25_uid_seq_stop' 
- unexpected unlock
net/ax25/af_ax25.c:573:28: warning: expensive signed divide
net/ax25/af_ax25.c:1865:13: warning: context imbalance in 'ax25_info_start' - 
wrong count at exit
net/ax25/af_ax25.c:1888:13: warning: context imbalance in 'ax25_info_stop' - 
unexpected unlock
net/ax25/ax25_ds_timer.c:133:25: warning: expensive signed divide

Signed-off-by: Eric Dumazet <redacted>

  net/ax25/af_ax25.c        |    4 +++-
  net/ax25/ax25_ds_timer.c  |    2 +-
  net/ax25/ax25_route.c     |    2 ++
  net/ax25/ax25_std_timer.c |    4 ++--
  net/ax25/ax25_uid.c       |    6 ++++--
  5 files changed, 12 insertions(+), 6 deletions(-)

Re: [AX25]: sparse cleanups

From: David Miller <davem@davemloft.net>
Date: 2008-01-14 06:29:59

From: Eric Dumazet <redacted>
Date: Sun, 13 Jan 2008 12:01:28 +0100
net/ax25/ax25_route.c:251:13: warning: context imbalance in 
'ax25_rt_seq_start' - wrong count at exit
net/ax25/ax25_route.c:276:13: warning: context imbalance in 'ax25_rt_seq_stop' 
- unexpected unlock
net/ax25/ax25_std_timer.c:65:25: warning: expensive signed divide
net/ax25/ax25_uid.c:46:1: warning: symbol 'ax25_uid_list' was not declared. 
Should it be static?
net/ax25/ax25_uid.c:146:13: warning: context imbalance in 'ax25_uid_seq_start' 
- wrong count at exit
net/ax25/ax25_uid.c:169:13: warning: context imbalance in 'ax25_uid_seq_stop' 
- unexpected unlock
net/ax25/af_ax25.c:573:28: warning: expensive signed divide
net/ax25/af_ax25.c:1865:13: warning: context imbalance in 'ax25_info_start' - 
wrong count at exit
net/ax25/af_ax25.c:1888:13: warning: context imbalance in 'ax25_info_stop' - 
unexpected unlock
net/ax25/ax25_ds_timer.c:133:25: warning: expensive signed divide

Signed-off-by: Eric Dumazet <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help