diff options
Diffstat (limited to 'drivers/s390/scsi/zfcp_fsf.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_fsf.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/drivers/s390/scsi/zfcp_fsf.c b/drivers/s390/scsi/zfcp_fsf.c index 4aa8834276f9..ff866ebd44ac 100644 --- a/drivers/s390/scsi/zfcp_fsf.c +++ b/drivers/s390/scsi/zfcp_fsf.c | |||
@@ -80,10 +80,10 @@ static const char zfcp_act_subtable_type[5][8] = { | |||
80 | /* | 80 | /* |
81 | * function: zfcp_fsf_req_alloc | 81 | * function: zfcp_fsf_req_alloc |
82 | * | 82 | * |
83 | * purpose: Obtains an fsf_req and potentially a qtcb (for all but | 83 | * purpose: Obtains an fsf_req and potentially a qtcb (for all but |
84 | * unsolicited requests) via helper functions | 84 | * unsolicited requests) via helper functions |
85 | * Does some initial fsf request set-up. | 85 | * Does some initial fsf request set-up. |
86 | * | 86 | * |
87 | * returns: pointer to allocated fsf_req if successfull | 87 | * returns: pointer to allocated fsf_req if successfull |
88 | * NULL otherwise | 88 | * NULL otherwise |
89 | * | 89 | * |
@@ -192,7 +192,7 @@ void zfcp_fsf_req_dismiss_all(struct zfcp_adapter *adapter) | |||
192 | * returns: 0 - success | 192 | * returns: 0 - success |
193 | * !0 - failure | 193 | * !0 - failure |
194 | * | 194 | * |
195 | * context: | 195 | * context: |
196 | */ | 196 | */ |
197 | int | 197 | int |
198 | zfcp_fsf_req_complete(struct zfcp_fsf_req *fsf_req) | 198 | zfcp_fsf_req_complete(struct zfcp_fsf_req *fsf_req) |
@@ -214,8 +214,8 @@ zfcp_fsf_req_complete(struct zfcp_fsf_req *fsf_req) | |||
214 | } | 214 | } |
215 | 215 | ||
216 | /* | 216 | /* |
217 | * fsf_req may be deleted due to waking up functions, so | 217 | * fsf_req may be deleted due to waking up functions, so |
218 | * cleanup is saved here and used later | 218 | * cleanup is saved here and used later |
219 | */ | 219 | */ |
220 | if (likely(fsf_req->status & ZFCP_STATUS_FSFREQ_CLEANUP)) | 220 | if (likely(fsf_req->status & ZFCP_STATUS_FSFREQ_CLEANUP)) |
221 | cleanup = 1; | 221 | cleanup = 1; |
@@ -259,9 +259,9 @@ zfcp_fsf_req_complete(struct zfcp_fsf_req *fsf_req) | |||
259 | * and initiates appropriate actions | 259 | * and initiates appropriate actions |
260 | * (usually calling FSF command specific handlers) | 260 | * (usually calling FSF command specific handlers) |
261 | * | 261 | * |
262 | * returns: | 262 | * returns: |
263 | * | 263 | * |
264 | * context: | 264 | * context: |
265 | * | 265 | * |
266 | * locks: | 266 | * locks: |
267 | */ | 267 | */ |
@@ -638,7 +638,7 @@ zfcp_fsf_link_down_info_eval(struct zfcp_adapter *adapter, | |||
638 | * | 638 | * |
639 | * purpose: calls the appropriate command specific handler | 639 | * purpose: calls the appropriate command specific handler |
640 | * | 640 | * |
641 | * returns: | 641 | * returns: |
642 | */ | 642 | */ |
643 | static int | 643 | static int |
644 | zfcp_fsf_req_dispatch(struct zfcp_fsf_req *fsf_req) | 644 | zfcp_fsf_req_dispatch(struct zfcp_fsf_req *fsf_req) |
@@ -854,7 +854,7 @@ zfcp_fsf_status_read_port_closed(struct zfcp_fsf_req *fsf_req) | |||
854 | * | 854 | * |
855 | * purpose: is called for finished Open Port command | 855 | * purpose: is called for finished Open Port command |
856 | * | 856 | * |
857 | * returns: | 857 | * returns: |
858 | */ | 858 | */ |
859 | static int | 859 | static int |
860 | zfcp_fsf_status_read_handler(struct zfcp_fsf_req *fsf_req) | 860 | zfcp_fsf_status_read_handler(struct zfcp_fsf_req *fsf_req) |
@@ -1088,7 +1088,7 @@ zfcp_fsf_status_read_handler(struct zfcp_fsf_req *fsf_req) | |||
1088 | * returns: address of initiated FSF request | 1088 | * returns: address of initiated FSF request |
1089 | * NULL - request could not be initiated | 1089 | * NULL - request could not be initiated |
1090 | * | 1090 | * |
1091 | * FIXME(design): should be watched by a timeout !!! | 1091 | * FIXME(design): should be watched by a timeout !!! |
1092 | * FIXME(design) shouldn't this be modified to return an int | 1092 | * FIXME(design) shouldn't this be modified to return an int |
1093 | * also...don't know how though | 1093 | * also...don't know how though |
1094 | */ | 1094 | */ |
@@ -1157,7 +1157,7 @@ zfcp_fsf_abort_fcp_command(unsigned long old_req_id, | |||
1157 | * | 1157 | * |
1158 | * purpose: is called for finished Abort FCP Command request | 1158 | * purpose: is called for finished Abort FCP Command request |
1159 | * | 1159 | * |
1160 | * returns: | 1160 | * returns: |
1161 | */ | 1161 | */ |
1162 | static int | 1162 | static int |
1163 | zfcp_fsf_abort_fcp_command_handler(struct zfcp_fsf_req *new_fsf_req) | 1163 | zfcp_fsf_abort_fcp_command_handler(struct zfcp_fsf_req *new_fsf_req) |
@@ -2437,10 +2437,10 @@ zfcp_fsf_exchange_port_data_handler(struct zfcp_fsf_req *fsf_req) | |||
2437 | /* | 2437 | /* |
2438 | * function: zfcp_fsf_open_port | 2438 | * function: zfcp_fsf_open_port |
2439 | * | 2439 | * |
2440 | * purpose: | 2440 | * purpose: |
2441 | * | 2441 | * |
2442 | * returns: address of initiated FSF request | 2442 | * returns: address of initiated FSF request |
2443 | * NULL - request could not be initiated | 2443 | * NULL - request could not be initiated |
2444 | */ | 2444 | */ |
2445 | int | 2445 | int |
2446 | zfcp_fsf_open_port(struct zfcp_erp_action *erp_action) | 2446 | zfcp_fsf_open_port(struct zfcp_erp_action *erp_action) |
@@ -2501,7 +2501,7 @@ zfcp_fsf_open_port(struct zfcp_erp_action *erp_action) | |||
2501 | * | 2501 | * |
2502 | * purpose: is called for finished Open Port command | 2502 | * purpose: is called for finished Open Port command |
2503 | * | 2503 | * |
2504 | * returns: | 2504 | * returns: |
2505 | */ | 2505 | */ |
2506 | static int | 2506 | static int |
2507 | zfcp_fsf_open_port_handler(struct zfcp_fsf_req *fsf_req) | 2507 | zfcp_fsf_open_port_handler(struct zfcp_fsf_req *fsf_req) |
@@ -3103,7 +3103,7 @@ zfcp_fsf_open_unit(struct zfcp_erp_action *erp_action) | |||
3103 | * | 3103 | * |
3104 | * purpose: is called for finished Open LUN command | 3104 | * purpose: is called for finished Open LUN command |
3105 | * | 3105 | * |
3106 | * returns: | 3106 | * returns: |
3107 | */ | 3107 | */ |
3108 | static int | 3108 | static int |
3109 | zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req) | 3109 | zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req) |
@@ -3366,7 +3366,7 @@ zfcp_fsf_open_unit_handler(struct zfcp_fsf_req *fsf_req) | |||
3366 | * purpose: | 3366 | * purpose: |
3367 | * | 3367 | * |
3368 | * returns: address of fsf_req - request successfully initiated | 3368 | * returns: address of fsf_req - request successfully initiated |
3369 | * NULL - | 3369 | * NULL - |
3370 | * | 3370 | * |
3371 | * assumptions: This routine does not check whether the associated | 3371 | * assumptions: This routine does not check whether the associated |
3372 | * remote port/lun has already been opened. This should be | 3372 | * remote port/lun has already been opened. This should be |
@@ -3828,7 +3828,7 @@ zfcp_fsf_send_fcp_command_task_management(struct zfcp_adapter *adapter, | |||
3828 | * | 3828 | * |
3829 | * purpose: is called for finished Send FCP Command | 3829 | * purpose: is called for finished Send FCP Command |
3830 | * | 3830 | * |
3831 | * returns: | 3831 | * returns: |
3832 | */ | 3832 | */ |
3833 | static int | 3833 | static int |
3834 | zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req) | 3834 | zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req) |
@@ -4065,7 +4065,7 @@ zfcp_fsf_send_fcp_command_handler(struct zfcp_fsf_req *fsf_req) | |||
4065 | * | 4065 | * |
4066 | * purpose: evaluates FCP_RSP IU | 4066 | * purpose: evaluates FCP_RSP IU |
4067 | * | 4067 | * |
4068 | * returns: | 4068 | * returns: |
4069 | */ | 4069 | */ |
4070 | static int | 4070 | static int |
4071 | zfcp_fsf_send_fcp_command_task_handler(struct zfcp_fsf_req *fsf_req) | 4071 | zfcp_fsf_send_fcp_command_task_handler(struct zfcp_fsf_req *fsf_req) |
@@ -4293,7 +4293,7 @@ zfcp_fsf_send_fcp_command_task_handler(struct zfcp_fsf_req *fsf_req) | |||
4293 | * | 4293 | * |
4294 | * purpose: evaluates FCP_RSP IU | 4294 | * purpose: evaluates FCP_RSP IU |
4295 | * | 4295 | * |
4296 | * returns: | 4296 | * returns: |
4297 | */ | 4297 | */ |
4298 | static int | 4298 | static int |
4299 | zfcp_fsf_send_fcp_command_task_management_handler(struct zfcp_fsf_req *fsf_req) | 4299 | zfcp_fsf_send_fcp_command_task_management_handler(struct zfcp_fsf_req *fsf_req) |
@@ -4736,7 +4736,7 @@ zfcp_fsf_req_create(struct zfcp_adapter *adapter, u32 fsf_cmd, int req_flags, | |||
4736 | INIT_LIST_HEAD(&fsf_req->list); | 4736 | INIT_LIST_HEAD(&fsf_req->list); |
4737 | init_timer(&fsf_req->timer); | 4737 | init_timer(&fsf_req->timer); |
4738 | 4738 | ||
4739 | /* initialize waitqueue which may be used to wait on | 4739 | /* initialize waitqueue which may be used to wait on |
4740 | this request completion */ | 4740 | this request completion */ |
4741 | init_waitqueue_head(&fsf_req->completion_wq); | 4741 | init_waitqueue_head(&fsf_req->completion_wq); |
4742 | 4742 | ||