]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ata: Fix typos in the comment
authorYan Zhen <yanzhen@vivo.com>
Fri, 27 Sep 2024 06:00:56 +0000 (14:00 +0800)
committerNiklas Cassel <cassel@kernel.org>
Tue, 1 Oct 2024 07:22:02 +0000 (09:22 +0200)
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 <yanzhen@vivo.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Link: https://lore.kernel.org/r/20240927060056.221977-1-yanzhen@vivo.com
Signed-off-by: Niklas Cassel <cassel@kernel.org>
drivers/ata/ahci.c
drivers/ata/ahci_imx.c
drivers/ata/ahci_xgene.c
drivers/ata/libata-acpi.c
drivers/ata/pata_it8213.c
drivers/ata/pata_octeon_cf.c
drivers/ata/pata_oldpiix.c
drivers/ata/pata_radisys.c

index 45f63b09828a1af9e7e93abac851b91059bad732..2d3d3d67b4d968110983ee667d96a12fd1d6e716 100644 (file)
@@ -1676,7 +1676,7 @@ static int ahci_init_msi(struct pci_dev *pdev, unsigned int n_ports,
        /*
         * If number of MSIs is less than number of ports then Sharing Last
         * Message mode could be enforced. In this case assume that advantage
-        * of multipe MSIs is negated and use single MSI mode instead.
+        * of multiple MSIs is negated and use single MSI mode instead.
         */
        if (n_ports > 1) {
                nvec = pci_alloc_irq_vectors(pdev, n_ports, INT_MAX,
index 6f955e9105e8831f41ad4db1b9d43c1ade3b4c3e..357aba1d5929ffd073a33a7f39f31529b78a3bd5 100644 (file)
@@ -511,7 +511,7 @@ static int imx_sata_enable(struct ahci_host_priv *hpriv)
 
        if (imxpriv->type == AHCI_IMX6Q || imxpriv->type == AHCI_IMX6QP) {
                /*
-                * set PHY Paremeters, two steps to configure the GPR13,
+                * set PHY Parameters, two steps to configure the GPR13,
                 * one write for rest of parameters, mask of first write
                 * is 0x07ffffff, and the other one write for setting
                 * the mpll_clk_en.
index 81a1d838c0fc5ee49661724cd1516911ef92030f..7e6b4db8a1c27635081ea2a861468d7eadb8b412 100644 (file)
@@ -534,7 +534,7 @@ softreset_retry:
 
 /**
  * xgene_ahci_handle_broken_edge_irq - Handle the broken irq.
- * @host: Host that recieved the irq
+ * @host: Host that received the irq
  * @irq_masked: HOST_IRQ_STAT value
  *
  * For hardware with broken edge trigger latch
index d36e71f475abdc876b8513563cc50bd5ded2c650..b7f0bf795521343ad438c9eda52b307e1c6d71ba 100644 (file)
@@ -86,7 +86,7 @@ static void ata_acpi_detach_device(struct ata_port *ap, struct ata_device *dev)
  * @dev: ATA device ACPI event occurred (can be NULL)
  * @event: ACPI event which occurred
  *
- * All ACPI bay / device realted events end up in this function.  If
+ * All ACPI bay / device related events end up in this function.  If
  * the event is port-wide @dev is NULL.  If the event is specific to a
  * device, @dev points to it.
  *
@@ -832,7 +832,7 @@ void ata_acpi_on_resume(struct ata_port *ap)
                                dev->flags |= ATA_DFLAG_ACPI_PENDING;
                }
        } else {
-               /* SATA _GTF needs to be evaulated after _SDD and
+               /* SATA _GTF needs to be evaluated after _SDD and
                 * there's no reason to evaluate IDE _GTF early
                 * without _STM.  Clear cache and schedule _GTF.
                 */
index b7ac56103c8a3fa565668efcef84bc05f97ce811..9cbe2132ce59b96d7680fe3c1c8efc593546feb9 100644 (file)
@@ -81,7 +81,7 @@ static void it8213_set_piomode (struct ata_port *ap, struct ata_device *adev)
        int control = 0;
 
        /*
-        *      See Intel Document 298600-004 for the timing programing rules
+        *      See Intel Document 298600-004 for the timing programming rules
         *      for PIIX/ICH. The 8213 is a clone so very similar
         */
 
index 0bb9607e73486399d4cce7206047734028402774..dce24806a05297eb6383b962dff01a65b17e9920 100644 (file)
@@ -183,7 +183,7 @@ static void octeon_cf_set_piomode(struct ata_port *ap, struct ata_device *dev)
        reg_tim.s.ale = 0;
        /* Not used */
        reg_tim.s.page = 0;
-       /* Time after IORDY to coninue to assert the data */
+       /* Time after IORDY to continue to assert the data */
        reg_tim.s.wait = 0;
        /* Time to wait to complete the cycle. */
        reg_tim.s.pause = pause;
index dca82d92b004f3d7c32f31ac78ef54949c1b272d..3d01b7000e41cbccaec95e24d002a33b4fbcbf78 100644 (file)
@@ -70,7 +70,7 @@ static void oldpiix_set_piomode (struct ata_port *ap, struct ata_device *adev)
        int control = 0;
 
        /*
-        *      See Intel Document 298600-004 for the timing programing rules
+        *      See Intel Document 298600-004 for the timing programming rules
         *      for PIIX/ICH. Note that the early PIIX does not have the slave
         *      timing port at 0x44.
         */
index 84b001097093796545c953ec2b4cadf1eeae49e6..40ef8072c1592afdc8f23985c0749beb88f4bd82 100644 (file)
@@ -45,7 +45,7 @@ static void radisys_set_piomode (struct ata_port *ap, struct ata_device *adev)
        int control = 0;
 
        /*
-        *      See Intel Document 298600-004 for the timing programing rules
+        *      See Intel Document 298600-004 for the timing programming rules
         *      for PIIX/ICH. Note that the early PIIX does not have the slave
         *      timing port at 0x44. The Radisys is a relative of the PIIX
         *      but not the same so be careful.