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

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 <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>

authored by

Yan Zhen and committed by
Niklas Cassel
794007a8 9852d85e

+9 -9
+1 -1
drivers/ata/ahci.c
··· 1676 1676 /* 1677 1677 * If number of MSIs is less than number of ports then Sharing Last 1678 1678 * 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. 1680 1680 */ 1681 1681 if (n_ports > 1) { 1682 1682 nvec = pci_alloc_irq_vectors(pdev, n_ports, INT_MAX,
+1 -1
drivers/ata/ahci_imx.c
··· 511 511 512 512 if (imxpriv->type == AHCI_IMX6Q || imxpriv->type == AHCI_IMX6QP) { 513 513 /* 514 - * set PHY Paremeters, two steps to configure the GPR13, 514 + * set PHY Parameters, two steps to configure the GPR13, 515 515 * one write for rest of parameters, mask of first write 516 516 * is 0x07ffffff, and the other one write for setting 517 517 * the mpll_clk_en.
+1 -1
drivers/ata/ahci_xgene.c
··· 534 534 535 535 /** 536 536 * xgene_ahci_handle_broken_edge_irq - Handle the broken irq. 537 - * @host: Host that recieved the irq 537 + * @host: Host that received the irq 538 538 * @irq_masked: HOST_IRQ_STAT value 539 539 * 540 540 * For hardware with broken edge trigger latch
+2 -2
drivers/ata/libata-acpi.c
··· 86 86 * @dev: ATA device ACPI event occurred (can be NULL) 87 87 * @event: ACPI event which occurred 88 88 * 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 90 90 * the event is port-wide @dev is NULL. If the event is specific to a 91 91 * device, @dev points to it. 92 92 * ··· 832 832 dev->flags |= ATA_DFLAG_ACPI_PENDING; 833 833 } 834 834 } else { 835 - /* SATA _GTF needs to be evaulated after _SDD and 835 + /* SATA _GTF needs to be evaluated after _SDD and 836 836 * there's no reason to evaluate IDE _GTF early 837 837 * without _STM. Clear cache and schedule _GTF. 838 838 */
+1 -1
drivers/ata/pata_it8213.c
··· 81 81 int control = 0; 82 82 83 83 /* 84 - * See Intel Document 298600-004 for the timing programing rules 84 + * See Intel Document 298600-004 for the timing programming rules 85 85 * for PIIX/ICH. The 8213 is a clone so very similar 86 86 */ 87 87
+1 -1
drivers/ata/pata_octeon_cf.c
··· 183 183 reg_tim.s.ale = 0; 184 184 /* Not used */ 185 185 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 */ 187 187 reg_tim.s.wait = 0; 188 188 /* Time to wait to complete the cycle. */ 189 189 reg_tim.s.pause = pause;
+1 -1
drivers/ata/pata_oldpiix.c
··· 70 70 int control = 0; 71 71 72 72 /* 73 - * See Intel Document 298600-004 for the timing programing rules 73 + * See Intel Document 298600-004 for the timing programming rules 74 74 * for PIIX/ICH. Note that the early PIIX does not have the slave 75 75 * timing port at 0x44. 76 76 */
+1 -1
drivers/ata/pata_radisys.c
··· 45 45 int control = 0; 46 46 47 47 /* 48 - * See Intel Document 298600-004 for the timing programing rules 48 + * See Intel Document 298600-004 for the timing programming rules 49 49 * for PIIX/ICH. Note that the early PIIX does not have the slave 50 50 * timing port at 0x44. The Radisys is a relative of the PIIX 51 51 * but not the same so be careful.