diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2008-05-19 12:17:47 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-06-05 16:27:15 +0200 |
commit | aa0fec62391cd429385e7f3f9fc4a1fb8e2d1218 (patch) | |
tree | 24cec104ec5bcea8fe4d12e1b158f6f0a105a080 /drivers/message | |
parent | [SCSI] zfcp: remove some __attribute__ ((packed)) (diff) | |
download | linux-aa0fec62391cd429385e7f3f9fc4a1fb8e2d1218.tar.xz linux-aa0fec62391cd429385e7f3f9fc4a1fb8e2d1218.zip |
[SCSI] zfcp: Fix sparse warning by providing new entry in dbf
drivers/s390/scsi/zfcp_dbf.c:692:2: warning: context imbalance in
'zfcp_rec_dbf_event_thread' - different lock contexts for basic block
Replace the parameter indicating if the lock is held with a new entry
function that only acquires the lock. This makes the lock handling
more visible and removes the sparse warning.
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: Martin Peschke <mp3@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/message')
0 files changed, 0 insertions, 0 deletions