linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Lee Jones <lee.jones@linaro.org>
To: lee.jones@linaro.org
Cc: linux-kernel@vger.kernel.org, Jens Axboe <axboe@kernel.dk>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>,
	linux-ide@vger.kernel.org
Subject: [PATCH 01/15] ata: pata_pdc202xx_old: Fix some incorrectly named functions
Date: Thu, 18 Mar 2021 08:51:36 +0000	[thread overview]
Message-ID: <20210318085150.3131936-2-lee.jones@linaro.org> (raw)
In-Reply-To: <20210318085150.3131936-1-lee.jones@linaro.org>

Fixes the following W=1 kernel build warning(s):

 drivers/ata/pata_pdc202xx_old.c:127: warning: expecting prototype for pdc202xx_configure_dmamode(). Prototype was for pdc202xx_set_dmamode() instead
 drivers/ata/pata_pdc202xx_old.c:228: warning: expecting prototype for pdc2026x_bmdma_end(). Prototype was for pdc2026x_bmdma_stop() instead

Cc: Jens Axboe <axboe@kernel.dk>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
 drivers/ata/pata_pdc202xx_old.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/ata/pata_pdc202xx_old.c b/drivers/ata/pata_pdc202xx_old.c
index 378ed9ea97e90..0c5cbcd28d0db 100644
--- a/drivers/ata/pata_pdc202xx_old.c
+++ b/drivers/ata/pata_pdc202xx_old.c
@@ -115,7 +115,7 @@ static void pdc202xx_set_piomode(struct ata_port *ap, struct ata_device *adev)
 }
 
 /**
- *	pdc202xx_configure_dmamode	-	set DMA mode in chip
+ *	pdc202xx_set_dmamode	-	set DMA mode in chip
  *	@ap: ATA interface
  *	@adev: ATA device
  *
@@ -214,7 +214,7 @@ static void pdc2026x_bmdma_start(struct ata_queued_cmd *qc)
 }
 
 /**
- *	pdc2026x_bmdma_end		-	DMA engine stop
+ *	pdc2026x_bmdma_stop		-	DMA engine stop
  *	@qc: ATA command
  *
  *	After a DMA completes we need to put the clock back to 33MHz for
-- 
2.27.0


  reply	other threads:[~2021-03-18  8:52 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-18  8:51 [PATCH 00/15] [Set 2] Rid W=1 warnings from ATA Lee Jones
2021-03-18  8:51 ` Lee Jones [this message]
2021-03-18  8:51 ` [PATCH 02/15] ata: pata_sil680: Add some missing function parameter docs Lee Jones
2021-03-18  8:51 ` [PATCH 03/15] ata: pata_sis: Remove superfluous param description and supply another Lee Jones
2021-03-18  8:51 ` [PATCH 04/15] ata: pata_triflex: Repair some misnamed functions and fix some param descriptions Lee Jones
2021-03-18  8:51 ` [PATCH 05/15] ata: pata_it821x: Fix possible doc-rotted function names Lee Jones
2021-03-18  8:51 ` [PATCH 06/15] ata: pata_via: Fix a kernel-doc formatting issue Lee Jones
2021-03-18  8:51 ` [PATCH 07/15] ata: pata_piccolo: 'ata_tosh_init()' is misnamed in its header Lee Jones
2021-03-18  8:51 ` [PATCH 08/15] ata: pata_sl82c105: Fix potential doc-rot Lee Jones
2021-03-18  8:51 ` [PATCH 09/15] ata: pata_opti: Fix spelling issue of 'val' in 'opti_write_reg()' Lee Jones
2021-03-18  8:51 ` [PATCH 10/15] ata: ata_generic: Fix misspelling of 'ata_generic_init_one()' Lee Jones
2021-03-18  8:51 ` [PATCH 11/15] ata: pata_legacy: Repair a couple kernel-doc problems Lee Jones
2021-03-18  8:51 ` [PATCH 12/15] ata: pata_cs5530: Fix misspelling of 'cs5530_init_one()'s 'pdev' param Lee Jones
2021-03-18  8:51 ` [PATCH 13/15] ata: sata_mv: Fix misnaming of 'mv_bmdma_stop()' Lee Jones
2021-03-18  8:51 ` [PATCH 14/15] ata: libata-acpi: Fix function name and provide description for 'prev_gtf' Lee Jones
2021-03-18  8:51 ` [PATCH 15/15] ata: pata_acpi: Fix some incorrect function param descriptions Lee Jones
2021-03-30 13:20 ` [PATCH 00/15] [Set 2] Rid W=1 warnings from ATA Lee Jones
2021-03-31  2:21 ` Jens Axboe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210318085150.3131936-2-lee.jones@linaro.org \
    --to=lee.jones@linaro.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=axboe@kernel.dk \
    --cc=linux-ide@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).