diff mbox series

libata: fix a typo in comment

Message ID 20190210151901.7963-1-cgxu519@gmx.com
State Not Applicable
Delegated to: David Miller
Headers show
Series libata: fix a typo in comment | expand

Commit Message

cgxu519 Feb. 10, 2019, 3:19 p.m. UTC
poitner -> pointer.

Signed-off-by: Chengguang Xu <cgxu519@gmx.com>
---
 drivers/ata/libata-scsi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jens Axboe Feb. 10, 2019, 3:22 p.m. UTC | #1
On 2/10/19 8:19 AM, Chengguang Xu wrote:
> poitner -> pointer.

Applied, thanks.
diff mbox series

Patch

diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c
index 3d4887d0e84a..c2adfd8486c4 100644
--- a/drivers/ata/libata-scsi.c
+++ b/drivers/ata/libata-scsi.c
@@ -2990,7 +2990,7 @@  static unsigned int atapi_xlat(struct ata_queued_cmd *qc)
 	 * This inconsistency confuses several controllers which
 	 * perform PIO using DMA such as Intel AHCIs and sil3124/32.
 	 * These controllers use actual number of transferred bytes to
-	 * update DMA poitner and transfer of 4n+2 bytes make those
+	 * update DMA pointer and transfer of 4n+2 bytes make those
 	 * controller push DMA pointer by 4n+4 bytes because SATA data
 	 * FISes are aligned to 4 bytes.  This causes data corruption
 	 * and buffer overrun.