diff options
author | Christof Schmitt <christof.schmitt@de.ibm.com> | 2008-05-19 06:17:40 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-06-05 10:27:14 -0400 |
commit | 5c9a6890de80ed9222e6920f5930c272800f75ad (patch) | |
tree | 212e885b09d8c9ead820c0408111a9dabdd0c795 /drivers/s390/scsi/zfcp_ext.h | |
parent | b21417820f8f659a6b73cc937ab39bf77d350ce6 (diff) |
[SCSI] zfcp: Remove some sparse warnings
Remove some sparse warnings by telling sparse that zfcp_req_create
acquires the lock for the request queue.
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/s390/scsi/zfcp_ext.h')
-rw-r--r-- | drivers/s390/scsi/zfcp_ext.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/s390/scsi/zfcp_ext.h b/drivers/s390/scsi/zfcp_ext.h index 250565794fa5..16213cbbc4ba 100644 --- a/drivers/s390/scsi/zfcp_ext.h +++ b/drivers/s390/scsi/zfcp_ext.h | |||
@@ -94,7 +94,8 @@ extern void zfcp_fsf_req_dismiss_all(struct zfcp_adapter *); | |||
94 | extern int zfcp_fsf_status_read(struct zfcp_adapter *, int); | 94 | extern int zfcp_fsf_status_read(struct zfcp_adapter *, int); |
95 | extern int zfcp_status_read_refill(struct zfcp_adapter *adapter); | 95 | extern int zfcp_status_read_refill(struct zfcp_adapter *adapter); |
96 | extern int zfcp_fsf_req_create(struct zfcp_adapter *, u32, int, mempool_t *, | 96 | extern int zfcp_fsf_req_create(struct zfcp_adapter *, u32, int, mempool_t *, |
97 | unsigned long *, struct zfcp_fsf_req **); | 97 | unsigned long *, struct zfcp_fsf_req **) |
98 | __acquires(adapter->request_queue.queue_lock); | ||
98 | extern int zfcp_fsf_send_ct(struct zfcp_send_ct *, mempool_t *, | 99 | extern int zfcp_fsf_send_ct(struct zfcp_send_ct *, mempool_t *, |
99 | struct zfcp_erp_action *); | 100 | struct zfcp_erp_action *); |
100 | extern int zfcp_fsf_send_els(struct zfcp_send_els *); | 101 | extern int zfcp_fsf_send_els(struct zfcp_send_els *); |