• Hannes Eder's avatar
    drivers/net/bonding: fix sparse warnings: context imbalance · 1f78d9f9
    Hannes Eder authored
    Impact: Attribute functions with __acquires(...) and/or __releases(...).
    
    Fix this sparse warnings:
      drivers/net/bonding/bond_alb.c:1675:9: warning: context imbalance in 'bond_alb_handle_active_change' - unexpected unlock
      drivers/net/bonding/bond_alb.c:1742:9: warning: context imbalance in 'bond_alb_set_mac_address' - unexpected unlock
      drivers/net/bonding/bond_main.c:1025:17: warning: context imbalance in 'bond_do_fail_over_mac' - unexpected unlock
      drivers/net/bonding/bond_main.c:3195:13: warning: context imbalance in 'bond_info_seq_start' - wrong count at exit
      drivers/net/bonding/bond_main.c:3234:13: warning: context imbalance in 'bond_info_seq_stop' - unexpected unlock
    Signed-off-by: default avatarHannes Eder <hannes@hanneseder.net>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    1f78d9f9
bond_alb.c 45 KB