2021-03-12 09:01:56

by Bhaskar Chowdhury

[permalink] [raw]
Subject: [PATCH] ata: Trivial spelling fixes in the file pata_ns87415.c


Trivial spelling fixes.

Signed-off-by: Bhaskar Chowdhury <[email protected]>
---
drivers/ata/pata_ns87415.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ata/pata_ns87415.c b/drivers/ata/pata_ns87415.c
index 1532b2e3c672..f4949e704356 100644
--- a/drivers/ata/pata_ns87415.c
+++ b/drivers/ata/pata_ns87415.c
@@ -113,7 +113,7 @@ static void ns87415_set_piomode(struct ata_port *ap, struct ata_device *adev)
* ns87415_bmdma_setup - Set up DMA
* @qc: Command block
*
- * Set up for bus masterng DMA. We have to do this ourselves
+ * Set up for bus mastering DMA. We have to do this ourselves
* rather than use the helper due to a chip erratum
*/

@@ -174,7 +174,7 @@ static void ns87415_bmdma_stop(struct ata_queued_cmd *qc)
* ns87415_irq_clear - Clear interrupt
* @ap: Channel to clear
*
- * Erratum: Due to a chip bug regisers 02 and 0A bit 1 and 2 (the
+ * Erratum: Due to a chip bug registers 02 and 0A bit 1 and 2 (the
* error bits) are reset by writing to register 00 or 08.
*/

--
2.26.2


2021-03-12 14:30:36

by Jens Axboe

[permalink] [raw]
Subject: Re: [PATCH] ata: Trivial spelling fixes in the file pata_ns87415.c

On 3/12/21 1:57 AM, Bhaskar Chowdhury wrote:
>
> Trivial spelling fixes.

Applied, thanks.

--
Jens Axboe

2021-03-12 17:46:54

by Sergei Shtylyov

[permalink] [raw]
Subject: Re: [PATCH] ata: Trivial spelling fixes in the file pata_ns87415.c

Hello!

For the future, the driver name should go instead (or after) the "ata: ", like this:
"pata_ns87415: Trivial spelling fixes".

MBR, Sergei