diff options
| author | Bart Van Assche <bvanassche@acm.org> | 2013-08-14 11:31:52 -0400 |
|---|---|---|
| committer | Robert Love <robert.w.love@intel.com> | 2013-09-04 15:47:49 -0400 |
| commit | c1d454246c1339388ed0788f34f88ee12ad58ef3 (patch) | |
| tree | f8f14e3d4f5e1d99bd4bd141f13e0db44bd9ae53 /drivers/scsi/libfc | |
| parent | 34bac2ef5981666261fcf6932f4cd718b820323f (diff) | |
libfc: Source code comment spelling fixes
Change 'initiaive' into 'initiative', 'remainig' into 'remaining'
and change 'exected' into 'expected'.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Diffstat (limited to 'drivers/scsi/libfc')
| -rw-r--r-- | drivers/scsi/libfc/fc_exch.c | 5 | ||||
| -rw-r--r-- | drivers/scsi/libfc/fc_lport.c | 2 | ||||
| -rw-r--r-- | drivers/scsi/libfc/fc_rport.c | 6 |
3 files changed, 5 insertions, 8 deletions
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c index 587992952b3c..b233a2dea122 100644 --- a/drivers/scsi/libfc/fc_exch.c +++ b/drivers/scsi/libfc/fc_exch.c | |||
| @@ -303,10 +303,7 @@ static void fc_exch_setup_hdr(struct fc_exch *ep, struct fc_frame *fp, | |||
| 303 | fr_eof(fp) = FC_EOF_N; | 303 | fr_eof(fp) = FC_EOF_N; |
| 304 | } | 304 | } |
| 305 | 305 | ||
| 306 | /* | 306 | /* Initialize remaining fh fields from fc_fill_fc_hdr */ |
| 307 | * Initialize remainig fh fields | ||
| 308 | * from fc_fill_fc_hdr | ||
| 309 | */ | ||
| 310 | fh->fh_ox_id = htons(ep->oxid); | 307 | fh->fh_ox_id = htons(ep->oxid); |
| 311 | fh->fh_rx_id = htons(ep->rxid); | 308 | fh->fh_rx_id = htons(ep->rxid); |
| 312 | fh->fh_seq_id = ep->seq.id; | 309 | fh->fh_seq_id = ep->seq.id; |
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c index f04d15c67df3..a32f3141f3f9 100644 --- a/drivers/scsi/libfc/fc_lport.c +++ b/drivers/scsi/libfc/fc_lport.c | |||
| @@ -516,7 +516,7 @@ static void fc_lport_recv_rnid_req(struct fc_lport *lport, | |||
| 516 | * @lport: The local port receiving the LOGO | 516 | * @lport: The local port receiving the LOGO |
| 517 | * @fp: The LOGO request frame | 517 | * @fp: The LOGO request frame |
| 518 | * | 518 | * |
| 519 | * Locking Note: The lport lock is exected to be held before calling | 519 | * Locking Note: The lport lock is expected to be held before calling |
| 520 | * this function. | 520 | * this function. |
| 521 | */ | 521 | */ |
| 522 | static void fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) | 522 | static void fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) |
diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c index c710d908fda6..589ff9aedd31 100644 --- a/drivers/scsi/libfc/fc_rport.c +++ b/drivers/scsi/libfc/fc_rport.c | |||
| @@ -1705,7 +1705,7 @@ reject: | |||
| 1705 | * @rdata: The remote port that sent the PRLI request | 1705 | * @rdata: The remote port that sent the PRLI request |
| 1706 | * @rx_fp: The PRLI request frame | 1706 | * @rx_fp: The PRLI request frame |
| 1707 | * | 1707 | * |
| 1708 | * Locking Note: The rport lock is exected to be held before calling | 1708 | * Locking Note: The rport lock is expected to be held before calling |
| 1709 | * this function. | 1709 | * this function. |
| 1710 | */ | 1710 | */ |
| 1711 | static void fc_rport_recv_prli_req(struct fc_rport_priv *rdata, | 1711 | static void fc_rport_recv_prli_req(struct fc_rport_priv *rdata, |
| @@ -1824,7 +1824,7 @@ drop: | |||
| 1824 | * @rdata: The remote port that sent the PRLO request | 1824 | * @rdata: The remote port that sent the PRLO request |
| 1825 | * @rx_fp: The PRLO request frame | 1825 | * @rx_fp: The PRLO request frame |
| 1826 | * | 1826 | * |
| 1827 | * Locking Note: The rport lock is exected to be held before calling | 1827 | * Locking Note: The rport lock is expected to be held before calling |
| 1828 | * this function. | 1828 | * this function. |
| 1829 | */ | 1829 | */ |
| 1830 | static void fc_rport_recv_prlo_req(struct fc_rport_priv *rdata, | 1830 | static void fc_rport_recv_prlo_req(struct fc_rport_priv *rdata, |
| @@ -1895,7 +1895,7 @@ drop: | |||
| 1895 | * @lport: The local port that received the LOGO request | 1895 | * @lport: The local port that received the LOGO request |
| 1896 | * @fp: The LOGO request frame | 1896 | * @fp: The LOGO request frame |
| 1897 | * | 1897 | * |
| 1898 | * Locking Note: The rport lock is exected to be held before calling | 1898 | * Locking Note: The rport lock is expected to be held before calling |
| 1899 | * this function. | 1899 | * this function. |
| 1900 | */ | 1900 | */ |
| 1901 | static void fc_rport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) | 1901 | static void fc_rport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp) |
