diff options
Diffstat (limited to 'drivers/scsi/libfc/fc_lport.c')
-rw-r--r-- | drivers/scsi/libfc/fc_lport.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c index 8c08b210001d..906bbcad0e2d 100644 --- a/drivers/scsi/libfc/fc_lport.c +++ b/drivers/scsi/libfc/fc_lport.c | |||
@@ -52,7 +52,7 @@ | |||
52 | * while making the callback. To ensure that the rport is not free'd while | 52 | * while making the callback. To ensure that the rport is not free'd while |
53 | * processing the callback the rport callbacks are serialized through a | 53 | * processing the callback the rport callbacks are serialized through a |
54 | * single-threaded workqueue. An rport would never be free'd while in a | 54 | * single-threaded workqueue. An rport would never be free'd while in a |
55 | * callback handler becuase no other rport work in this queue can be executed | 55 | * callback handler because no other rport work in this queue can be executed |
56 | * at the same time. | 56 | * at the same time. |
57 | * | 57 | * |
58 | * When discovery succeeds or fails a callback is made to the lport as | 58 | * When discovery succeeds or fails a callback is made to the lport as |
@@ -163,7 +163,7 @@ static int fc_frame_drop(struct fc_lport *lport, struct fc_frame *fp) | |||
163 | * fc_lport_rport_callback() - Event handler for rport events | 163 | * fc_lport_rport_callback() - Event handler for rport events |
164 | * @lport: The lport which is receiving the event | 164 | * @lport: The lport which is receiving the event |
165 | * @rdata: private remote port data | 165 | * @rdata: private remote port data |
166 | * @event: The event that occured | 166 | * @event: The event that occurred |
167 | * | 167 | * |
168 | * Locking Note: The rport lock should not be held when calling | 168 | * Locking Note: The rport lock should not be held when calling |
169 | * this function. | 169 | * this function. |
@@ -379,7 +379,7 @@ static void fc_lport_add_fc4_type(struct fc_lport *lport, enum fc_fh_type type) | |||
379 | 379 | ||
380 | /** | 380 | /** |
381 | * fc_lport_recv_rlir_req() - Handle received Registered Link Incident Report. | 381 | * fc_lport_recv_rlir_req() - Handle received Registered Link Incident Report. |
382 | * @lport: Fibre Channel local port recieving the RLIR | 382 | * @lport: Fibre Channel local port receiving the RLIR |
383 | * @fp: The RLIR request frame | 383 | * @fp: The RLIR request frame |
384 | * | 384 | * |
385 | * Locking Note: The lport lock is expected to be held before calling | 385 | * Locking Note: The lport lock is expected to be held before calling |
@@ -396,7 +396,7 @@ static void fc_lport_recv_rlir_req(struct fc_lport *lport, struct fc_frame *fp) | |||
396 | 396 | ||
397 | /** | 397 | /** |
398 | * fc_lport_recv_echo_req() - Handle received ECHO request | 398 | * fc_lport_recv_echo_req() - Handle received ECHO request |
399 | * @lport: The local port recieving the ECHO | 399 | * @lport: The local port receiving the ECHO |
400 | * @fp: ECHO request frame | 400 | * @fp: ECHO request frame |
401 | * | 401 | * |
402 | * Locking Note: The lport lock is expected to be held before calling | 402 | * Locking Note: The lport lock is expected to be held before calling |
@@ -432,7 +432,7 @@ static void fc_lport_recv_echo_req(struct fc_lport *lport, | |||
432 | 432 | ||
433 | /** | 433 | /** |
434 | * fc_lport_recv_rnid_req() - Handle received Request Node ID data request | 434 | * fc_lport_recv_rnid_req() - Handle received Request Node ID data request |
435 | * @lport: The local port recieving the RNID | 435 | * @lport: The local port receiving the RNID |
436 | * @fp: The RNID request frame | 436 | * @fp: The RNID request frame |
437 | * | 437 | * |
438 | * Locking Note: The lport lock is expected to be held before calling | 438 | * Locking Note: The lport lock is expected to be held before calling |
@@ -491,7 +491,7 @@ static void fc_lport_recv_rnid_req(struct fc_lport *lport, | |||
491 | 491 | ||
492 | /** | 492 | /** |
493 | * fc_lport_recv_logo_req() - Handle received fabric LOGO request | 493 | * fc_lport_recv_logo_req() - Handle received fabric LOGO request |
494 | * @lport: The local port recieving the LOGO | 494 | * @lport: The local port receiving the LOGO |
495 | * @fp: The LOGO request frame | 495 | * @fp: The LOGO request frame |
496 | * | 496 | * |
497 | * Locking Note: The lport lock is exected to be held before calling | 497 | * Locking Note: The lport lock is exected to be held before calling |
@@ -771,7 +771,7 @@ EXPORT_SYMBOL(fc_lport_set_local_id); | |||
771 | 771 | ||
772 | /** | 772 | /** |
773 | * fc_lport_recv_flogi_req() - Receive a FLOGI request | 773 | * fc_lport_recv_flogi_req() - Receive a FLOGI request |
774 | * @lport: The local port that recieved the request | 774 | * @lport: The local port that received the request |
775 | * @rx_fp: The FLOGI frame | 775 | * @rx_fp: The FLOGI frame |
776 | * | 776 | * |
777 | * A received FLOGI request indicates a point-to-point connection. | 777 | * A received FLOGI request indicates a point-to-point connection. |
@@ -858,7 +858,7 @@ out: | |||
858 | * if an rport should handle the request. | 858 | * if an rport should handle the request. |
859 | * | 859 | * |
860 | * Locking Note: This function should not be called with the lport | 860 | * Locking Note: This function should not be called with the lport |
861 | * lock held becuase it will grab the lock. | 861 | * lock held because it will grab the lock. |
862 | */ | 862 | */ |
863 | static void fc_lport_recv_els_req(struct fc_lport *lport, | 863 | static void fc_lport_recv_els_req(struct fc_lport *lport, |
864 | struct fc_frame *fp) | 864 | struct fc_frame *fp) |
@@ -925,7 +925,7 @@ struct fc4_prov fc_lport_els_prov = { | |||
925 | * @fp: The frame the request is in | 925 | * @fp: The frame the request is in |
926 | * | 926 | * |
927 | * Locking Note: This function should not be called with the lport | 927 | * Locking Note: This function should not be called with the lport |
928 | * lock held becuase it may grab the lock. | 928 | * lock held because it may grab the lock. |
929 | */ | 929 | */ |
930 | static void fc_lport_recv_req(struct fc_lport *lport, | 930 | static void fc_lport_recv_req(struct fc_lport *lport, |
931 | struct fc_frame *fp) | 931 | struct fc_frame *fp) |