Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Bart Van Assche and committed by
Robert Love
c1d45424 34bac2ef

+6 -9
+1 -4
drivers/scsi/libfc/fc_exch.c
··· 303 303 fr_eof(fp) = FC_EOF_N; 304 304 } 305 305 306 - /* 307 - * Initialize remainig fh fields 308 - * from fc_fill_fc_hdr 309 - */ 306 + /* Initialize remaining fh fields from fc_fill_fc_hdr */ 310 307 fh->fh_ox_id = htons(ep->oxid); 311 308 fh->fh_rx_id = htons(ep->rxid); 312 309 fh->fh_seq_id = ep->seq.id;
+1 -1
drivers/scsi/libfc/fc_lport.c
··· 516 516 * @lport: The local port receiving the LOGO 517 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 520 * this function. 521 521 */ 522 522 static void fc_lport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp)
+3 -3
drivers/scsi/libfc/fc_rport.c
··· 1705 1705 * @rdata: The remote port that sent the PRLI request 1706 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 1709 * this function. 1710 1710 */ 1711 1711 static void fc_rport_recv_prli_req(struct fc_rport_priv *rdata, ··· 1824 1824 * @rdata: The remote port that sent the PRLO request 1825 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 1828 * this function. 1829 1829 */ 1830 1830 static void fc_rport_recv_prlo_req(struct fc_rport_priv *rdata, ··· 1895 1895 * @lport: The local port that received the LOGO request 1896 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 1899 * this function. 1900 1900 */ 1901 1901 static void fc_rport_recv_logo_req(struct fc_lport *lport, struct fc_frame *fp)
+1 -1
include/scsi/fc/fc_fc2.h
··· 104 104 * esb_e_stat - flags from FC-FS-2 T11/1619-D Rev 0.90. 105 105 */ 106 106 #define ESB_ST_RESP (1 << 31) /* responder to exchange */ 107 - #define ESB_ST_SEQ_INIT (1 << 30) /* port holds sequence initiaive */ 107 + #define ESB_ST_SEQ_INIT (1 << 30) /* port holds sequence initiative */ 108 108 #define ESB_ST_COMPLETE (1 << 29) /* exchange is complete */ 109 109 #define ESB_ST_ABNORMAL (1 << 28) /* abnormal ending condition */ 110 110 #define ESB_ST_REC_QUAL (1 << 26) /* recovery qualifier active */