diff options
author | Masanari Iida <standby24x7@gmail.com> | 2016-04-13 10:36:27 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2016-04-13 13:38:16 -0400 |
commit | c9b5560aac7aa774143ce16c1fe7e0007dea79e2 (patch) | |
tree | 9ca0452db1e4bc43a5eb5dc3a8b15bead7628639 | |
parent | 974e0a4537f556867483f493c7f67ccdcb7fc504 (diff) |
treewide: Fix typos in libata.xml
This patch fix spelling typos found in Documentation/Docbook/libata.xml.
It is because the file was generated from comments in source,
I had to fix comments in libata-core.c
Signed-off-by: Masanari Iida <standby24x7@gmail.com>
Acked-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Tejun Heo <tj@kernel.org>
-rw-r--r-- | drivers/ata/libata-core.c | 16 | ||||
-rw-r--r-- | drivers/ata/libata-scsi.c | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/drivers/ata/libata-core.c b/drivers/ata/libata-core.c index 7b21021dbf7d..6f33ace33daf 100644 --- a/drivers/ata/libata-core.c +++ b/drivers/ata/libata-core.c | |||
@@ -884,7 +884,7 @@ unsigned long ata_pack_xfermask(unsigned long pio_mask, | |||
884 | * @udma_mask: resulting udma_mask | 884 | * @udma_mask: resulting udma_mask |
885 | * | 885 | * |
886 | * Unpack @xfer_mask into @pio_mask, @mwdma_mask and @udma_mask. | 886 | * Unpack @xfer_mask into @pio_mask, @mwdma_mask and @udma_mask. |
887 | * Any NULL distination masks will be ignored. | 887 | * Any NULL destination masks will be ignored. |
888 | */ | 888 | */ |
889 | void ata_unpack_xfermask(unsigned long xfer_mask, unsigned long *pio_mask, | 889 | void ata_unpack_xfermask(unsigned long xfer_mask, unsigned long *pio_mask, |
890 | unsigned long *mwdma_mask, unsigned long *udma_mask) | 890 | unsigned long *mwdma_mask, unsigned long *udma_mask) |
@@ -3399,7 +3399,7 @@ int ata_do_set_mode(struct ata_link *link, struct ata_device **r_failed_dev) | |||
3399 | * EH context. | 3399 | * EH context. |
3400 | * | 3400 | * |
3401 | * RETURNS: | 3401 | * RETURNS: |
3402 | * 0 if @linke is ready before @deadline; otherwise, -errno. | 3402 | * 0 if @link is ready before @deadline; otherwise, -errno. |
3403 | */ | 3403 | */ |
3404 | int ata_wait_ready(struct ata_link *link, unsigned long deadline, | 3404 | int ata_wait_ready(struct ata_link *link, unsigned long deadline, |
3405 | int (*check_ready)(struct ata_link *link)) | 3405 | int (*check_ready)(struct ata_link *link)) |
@@ -3480,7 +3480,7 @@ int ata_wait_ready(struct ata_link *link, unsigned long deadline, | |||
3480 | * EH context. | 3480 | * EH context. |
3481 | * | 3481 | * |
3482 | * RETURNS: | 3482 | * RETURNS: |
3483 | * 0 if @linke is ready before @deadline; otherwise, -errno. | 3483 | * 0 if @link is ready before @deadline; otherwise, -errno. |
3484 | */ | 3484 | */ |
3485 | int ata_wait_after_reset(struct ata_link *link, unsigned long deadline, | 3485 | int ata_wait_after_reset(struct ata_link *link, unsigned long deadline, |
3486 | int (*check_ready)(struct ata_link *link)) | 3486 | int (*check_ready)(struct ata_link *link)) |
@@ -3493,7 +3493,7 @@ int ata_wait_after_reset(struct ata_link *link, unsigned long deadline, | |||
3493 | /** | 3493 | /** |
3494 | * sata_link_debounce - debounce SATA phy status | 3494 | * sata_link_debounce - debounce SATA phy status |
3495 | * @link: ATA link to debounce SATA phy status for | 3495 | * @link: ATA link to debounce SATA phy status for |
3496 | * @params: timing parameters { interval, duratinon, timeout } in msec | 3496 | * @params: timing parameters { interval, duration, timeout } in msec |
3497 | * @deadline: deadline jiffies for the operation | 3497 | * @deadline: deadline jiffies for the operation |
3498 | * | 3498 | * |
3499 | * Make sure SStatus of @link reaches stable state, determined by | 3499 | * Make sure SStatus of @link reaches stable state, determined by |
@@ -3563,7 +3563,7 @@ int sata_link_debounce(struct ata_link *link, const unsigned long *params, | |||
3563 | /** | 3563 | /** |
3564 | * sata_link_resume - resume SATA link | 3564 | * sata_link_resume - resume SATA link |
3565 | * @link: ATA link to resume SATA | 3565 | * @link: ATA link to resume SATA |
3566 | * @params: timing parameters { interval, duratinon, timeout } in msec | 3566 | * @params: timing parameters { interval, duration, timeout } in msec |
3567 | * @deadline: deadline jiffies for the operation | 3567 | * @deadline: deadline jiffies for the operation |
3568 | * | 3568 | * |
3569 | * Resume SATA phy @link and debounce it. | 3569 | * Resume SATA phy @link and debounce it. |
@@ -3746,7 +3746,7 @@ int ata_std_prereset(struct ata_link *link, unsigned long deadline) | |||
3746 | /** | 3746 | /** |
3747 | * sata_link_hardreset - reset link via SATA phy reset | 3747 | * sata_link_hardreset - reset link via SATA phy reset |
3748 | * @link: link to reset | 3748 | * @link: link to reset |
3749 | * @timing: timing parameters { interval, duratinon, timeout } in msec | 3749 | * @timing: timing parameters { interval, duration, timeout } in msec |
3750 | * @deadline: deadline jiffies for the operation | 3750 | * @deadline: deadline jiffies for the operation |
3751 | * @online: optional out parameter indicating link onlineness | 3751 | * @online: optional out parameter indicating link onlineness |
3752 | * @check_ready: optional callback to check link readiness | 3752 | * @check_ready: optional callback to check link readiness |
@@ -6212,7 +6212,7 @@ int ata_host_register(struct ata_host *host, struct scsi_host_template *sht) | |||
6212 | * | 6212 | * |
6213 | * After allocating an ATA host and initializing it, most libata | 6213 | * After allocating an ATA host and initializing it, most libata |
6214 | * LLDs perform three steps to activate the host - start host, | 6214 | * LLDs perform three steps to activate the host - start host, |
6215 | * request IRQ and register it. This helper takes necessasry | 6215 | * request IRQ and register it. This helper takes necessary |
6216 | * arguments and performs the three steps in one go. | 6216 | * arguments and performs the three steps in one go. |
6217 | * | 6217 | * |
6218 | * An invalid IRQ skips the IRQ registration and expects the host to | 6218 | * An invalid IRQ skips the IRQ registration and expects the host to |
@@ -6265,7 +6265,7 @@ int ata_host_activate(struct ata_host *host, int irq, | |||
6265 | } | 6265 | } |
6266 | 6266 | ||
6267 | /** | 6267 | /** |
6268 | * ata_port_detach - Detach ATA port in prepration of device removal | 6268 | * ata_port_detach - Detach ATA port in preparation of device removal |
6269 | * @ap: ATA port to be detached | 6269 | * @ap: ATA port to be detached |
6270 | * | 6270 | * |
6271 | * Detach all ATA devices and the associated SCSI devices of @ap; | 6271 | * Detach all ATA devices and the associated SCSI devices of @ap; |
diff --git a/drivers/ata/libata-scsi.c b/drivers/ata/libata-scsi.c index 567859ce0512..90397baaa5f1 100644 --- a/drivers/ata/libata-scsi.c +++ b/drivers/ata/libata-scsi.c | |||
@@ -1109,7 +1109,7 @@ static void ata_scsi_sdev_config(struct scsi_device *sdev) | |||
1109 | * @rq: request to be checked | 1109 | * @rq: request to be checked |
1110 | * | 1110 | * |
1111 | * ATAPI commands which transfer variable length data to host | 1111 | * ATAPI commands which transfer variable length data to host |
1112 | * might overflow due to application error or hardare bug. This | 1112 | * might overflow due to application error or hardware bug. This |
1113 | * function checks whether overflow should be drained and ignored | 1113 | * function checks whether overflow should be drained and ignored |
1114 | * for @request. | 1114 | * for @request. |
1115 | * | 1115 | * |