diff options
author | Jules Irenge <jbi.octave@gmail.com> | 2020-04-03 19:05:05 +0300 |
---|---|---|
committer | Corey Minyard <cminyard@mvista.com> | 2020-04-03 21:34:57 +0300 |
commit | 562bf7705885855ed8ed5483895ddff509acae7c (patch) | |
tree | 458caae20b8066129ea4872cd93e9cd896d732e2 /drivers/md/dm-path-selector.c | |
parent | 09f5f680707e4758ad948c362859f9598ca1275c (diff) | |
download | linux-562bf7705885855ed8ed5483895ddff509acae7c.tar.xz |
ipmi: Add missing annotation for ipmi_ssif_lock_cond() and ipmi_ssif_unlock_cond()
Sparse reports a warning at ipmi_ssif_unlock_cond()
and ipmi_ssif_lock_cond()
warning: context imbalance in ipmi_ssif_lock_cond()
- wrong count at exit
warning: context imbalance in ipmi_ssif_unlock_cond()
- unexpected unlock
The root cause is the missing annotation at ipmi_ssif_unlock_cond()
and ipmi_ssif_lock_cond()
Add the missing __acquires(&ata_scsi_rbuf_lock)
Add the missing __releases(&ata_scsi_rbuf_lock)
Signed-off-by: Jules Irenge <jbi.octave@gmail.com>
Message-Id: <20200403160505.2832-6-jbi.octave@gmail.com>
Signed-off-by: Corey Minyard <cminyard@mvista.com>
Diffstat (limited to 'drivers/md/dm-path-selector.c')
0 files changed, 0 insertions, 0 deletions