Skip to content

Commit 794007a

Browse files
Yan Zhenfloatious
authored andcommitted
ata: Fix typos in the comment
Correctly spelled comments make it easier for the reader to understand the code. Fix typos: 'multipe' ==> 'multiple', 'Paremeters' ==> 'Parameters', 'recieved' ==> 'received', 'realted' ==> 'related', 'evaulated' ==> 'evaluated', 'programing' ==> 'programming', 'coninue' ==> 'continue'. Signed-off-by: Yan Zhen <[email protected]> Reviewed-by: Sergey Shtylyov <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Niklas Cassel <[email protected]>
1 parent 9852d85 commit 794007a

File tree

8 files changed

+9
-9
lines changed

8 files changed

+9
-9
lines changed

drivers/ata/ahci.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1676,7 +1676,7 @@ static int ahci_init_msi(struct pci_dev *pdev, unsigned int n_ports,
16761676
/*
16771677
* If number of MSIs is less than number of ports then Sharing Last
16781678
* Message mode could be enforced. In this case assume that advantage
1679-
* of multipe MSIs is negated and use single MSI mode instead.
1679+
* of multiple MSIs is negated and use single MSI mode instead.
16801680
*/
16811681
if (n_ports > 1) {
16821682
nvec = pci_alloc_irq_vectors(pdev, n_ports, INT_MAX,

drivers/ata/ahci_imx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ static int imx_sata_enable(struct ahci_host_priv *hpriv)
511511

512512
if (imxpriv->type == AHCI_IMX6Q || imxpriv->type == AHCI_IMX6QP) {
513513
/*
514-
* set PHY Paremeters, two steps to configure the GPR13,
514+
* set PHY Parameters, two steps to configure the GPR13,
515515
* one write for rest of parameters, mask of first write
516516
* is 0x07ffffff, and the other one write for setting
517517
* the mpll_clk_en.

drivers/ata/ahci_xgene.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -534,7 +534,7 @@ static int xgene_ahci_softreset(struct ata_link *link, unsigned int *class,
534534

535535
/**
536536
* xgene_ahci_handle_broken_edge_irq - Handle the broken irq.
537-
* @host: Host that recieved the irq
537+
* @host: Host that received the irq
538538
* @irq_masked: HOST_IRQ_STAT value
539539
*
540540
* For hardware with broken edge trigger latch

drivers/ata/libata-acpi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ static void ata_acpi_detach_device(struct ata_port *ap, struct ata_device *dev)
8686
* @dev: ATA device ACPI event occurred (can be NULL)
8787
* @event: ACPI event which occurred
8888
*
89-
* All ACPI bay / device realted events end up in this function. If
89+
* All ACPI bay / device related events end up in this function. If
9090
* the event is port-wide @dev is NULL. If the event is specific to a
9191
* device, @dev points to it.
9292
*
@@ -832,7 +832,7 @@ void ata_acpi_on_resume(struct ata_port *ap)
832832
dev->flags |= ATA_DFLAG_ACPI_PENDING;
833833
}
834834
} else {
835-
/* SATA _GTF needs to be evaulated after _SDD and
835+
/* SATA _GTF needs to be evaluated after _SDD and
836836
* there's no reason to evaluate IDE _GTF early
837837
* without _STM. Clear cache and schedule _GTF.
838838
*/

drivers/ata/pata_it8213.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ static void it8213_set_piomode (struct ata_port *ap, struct ata_device *adev)
8181
int control = 0;
8282

8383
/*
84-
* See Intel Document 298600-004 for the timing programing rules
84+
* See Intel Document 298600-004 for the timing programming rules
8585
* for PIIX/ICH. The 8213 is a clone so very similar
8686
*/
8787

drivers/ata/pata_octeon_cf.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ static void octeon_cf_set_piomode(struct ata_port *ap, struct ata_device *dev)
183183
reg_tim.s.ale = 0;
184184
/* Not used */
185185
reg_tim.s.page = 0;
186-
/* Time after IORDY to coninue to assert the data */
186+
/* Time after IORDY to continue to assert the data */
187187
reg_tim.s.wait = 0;
188188
/* Time to wait to complete the cycle. */
189189
reg_tim.s.pause = pause;

drivers/ata/pata_oldpiix.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ static void oldpiix_set_piomode (struct ata_port *ap, struct ata_device *adev)
7070
int control = 0;
7171

7272
/*
73-
* See Intel Document 298600-004 for the timing programing rules
73+
* See Intel Document 298600-004 for the timing programming rules
7474
* for PIIX/ICH. Note that the early PIIX does not have the slave
7575
* timing port at 0x44.
7676
*/

drivers/ata/pata_radisys.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ static void radisys_set_piomode (struct ata_port *ap, struct ata_device *adev)
4545
int control = 0;
4646

4747
/*
48-
* See Intel Document 298600-004 for the timing programing rules
48+
* See Intel Document 298600-004 for the timing programming rules
4949
* for PIIX/ICH. Note that the early PIIX does not have the slave
5050
* timing port at 0x44. The Radisys is a relative of the PIIX
5151
* but not the same so be careful.

0 commit comments

Comments
 (0)