Commit 63e40c55 authored by Arkadiusz Drabczyk's avatar Arkadiusz Drabczyk Committed by Martin K. Petersen

scsi: csiostor: Fix spelling typos

Fix several spelling typos in comments in csio_hw.c.

Link: https://lore.kernel.org/r/20190912172546.16489-1-arkadiusz@drabczyk.orgSigned-off-by: default avatarArkadiusz Drabczyk <arkadiusz@drabczyk.org>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 0e62395d
...@@ -793,10 +793,10 @@ csio_hw_get_flash_params(struct csio_hw *hw) ...@@ -793,10 +793,10 @@ csio_hw_get_flash_params(struct csio_hw *hw)
goto found; goto found;
} }
/* Decode Flash part size. The code below looks repetative with /* Decode Flash part size. The code below looks repetitive with
* common encodings, but that's not guaranteed in the JEDEC * common encodings, but that's not guaranteed in the JEDEC
* specification for the Read JADEC ID command. The only thing that * specification for the Read JEDEC ID command. The only thing that
* we're guaranteed by the JADEC specification is where the * we're guaranteed by the JEDEC specification is where the
* Manufacturer ID is in the returned result. After that each * Manufacturer ID is in the returned result. After that each
* Manufacturer ~could~ encode things completely differently. * Manufacturer ~could~ encode things completely differently.
* Note, all Flash parts must have 64KB sectors. * Note, all Flash parts must have 64KB sectors.
...@@ -983,8 +983,8 @@ csio_do_hello(struct csio_hw *hw, enum csio_dev_state *state) ...@@ -983,8 +983,8 @@ csio_do_hello(struct csio_hw *hw, enum csio_dev_state *state)
waiting -= 50; waiting -= 50;
/* /*
* If neither Error nor Initialialized are indicated * If neither Error nor Initialized are indicated
* by the firmware keep waiting till we exaust our * by the firmware keep waiting till we exhaust our
* timeout ... and then retry if we haven't exhausted * timeout ... and then retry if we haven't exhausted
* our retries ... * our retries ...
*/ */
...@@ -1738,7 +1738,7 @@ static void csio_link_l1cfg(struct link_config *lc, uint16_t fw_caps, ...@@ -1738,7 +1738,7 @@ static void csio_link_l1cfg(struct link_config *lc, uint16_t fw_caps,
* Convert Common Code Forward Error Control settings into the * Convert Common Code Forward Error Control settings into the
* Firmware's API. If the current Requested FEC has "Automatic" * Firmware's API. If the current Requested FEC has "Automatic"
* (IEEE 802.3) specified, then we use whatever the Firmware * (IEEE 802.3) specified, then we use whatever the Firmware
* sent us as part of it's IEEE 802.3-based interpratation of * sent us as part of it's IEEE 802.3-based interpretation of
* the Transceiver Module EPROM FEC parameters. Otherwise we * the Transceiver Module EPROM FEC parameters. Otherwise we
* use whatever is in the current Requested FEC settings. * use whatever is in the current Requested FEC settings.
*/ */
...@@ -2834,7 +2834,7 @@ csio_hws_configuring(struct csio_hw *hw, enum csio_hw_ev evt) ...@@ -2834,7 +2834,7 @@ csio_hws_configuring(struct csio_hw *hw, enum csio_hw_ev evt)
} }
/* /*
* csio_hws_initializing - Initialiazing state * csio_hws_initializing - Initializing state
* @hw - HW module * @hw - HW module
* @evt - Event * @evt - Event
* *
...@@ -3049,7 +3049,7 @@ csio_hws_removing(struct csio_hw *hw, enum csio_hw_ev evt) ...@@ -3049,7 +3049,7 @@ csio_hws_removing(struct csio_hw *hw, enum csio_hw_ev evt)
if (!csio_is_hw_master(hw)) if (!csio_is_hw_master(hw))
break; break;
/* /*
* The BYE should have alerady been issued, so we cant * The BYE should have already been issued, so we can't
* use the mailbox interface. Hence we use the PL_RST * use the mailbox interface. Hence we use the PL_RST
* register directly. * register directly.
*/ */
...@@ -3104,7 +3104,7 @@ csio_hws_pcierr(struct csio_hw *hw, enum csio_hw_ev evt) ...@@ -3104,7 +3104,7 @@ csio_hws_pcierr(struct csio_hw *hw, enum csio_hw_ev evt)
* *
* A table driven interrupt handler that applies a set of masks to an * A table driven interrupt handler that applies a set of masks to an
* interrupt status word and performs the corresponding actions if the * interrupt status word and performs the corresponding actions if the
* interrupts described by the mask have occured. The actions include * interrupts described by the mask have occurred. The actions include
* optionally emitting a warning or alert message. The table is terminated * optionally emitting a warning or alert message. The table is terminated
* by an entry specifying mask 0. Returns the number of fatal interrupt * by an entry specifying mask 0. Returns the number of fatal interrupt
* conditions. * conditions.
...@@ -4219,7 +4219,7 @@ csio_mgmtm_exit(struct csio_mgmtm *mgmtm) ...@@ -4219,7 +4219,7 @@ csio_mgmtm_exit(struct csio_mgmtm *mgmtm)
* @hw: Pointer to HW module. * @hw: Pointer to HW module.
* *
* It is assumed that the initialization is a synchronous operation. * It is assumed that the initialization is a synchronous operation.
* So when we return afer posting the event, the HW SM should be in * So when we return after posting the event, the HW SM should be in
* the ready state, if there were no errors during init. * the ready state, if there were no errors during init.
*/ */
int int
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment