From: Lee Jones <lee.jones@linaro.org>
To: lee.jones@linaro.org
Cc: linux-kernel@vger.kernel.org, Jens Axboe <axboe@kernel.dk>,
Colten Edwards <pje120@cs.usask.ca>,
Samuel Thibault <samuel.thibault@ens-lyon.org>,
linux-ide@vger.kernel.org
Subject: [PATCH 11/15] ata: pata_legacy: Repair a couple kernel-doc problems
Date: Thu, 18 Mar 2021 08:51:46 +0000 [thread overview]
Message-ID: <20210318085150.3131936-12-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_legacy.c:606: warning: expecting prototype for opt82c465mv_qc_issue(). Prototype was for opti82c46x_qc_issue() instead
drivers/ata/pata_legacy.c:933: warning: Function parameter or member 'probe' not described in 'legacy_init_one'
drivers/ata/pata_legacy.c:933: warning: Excess function parameter 'pl' description in 'legacy_init_one'
drivers/ata/pata_legacy.c:1024: warning: Function parameter or member 'primary' not described in 'legacy_check_special_cases'
drivers/ata/pata_legacy.c:1024: warning: Function parameter or member 'secondary' not described in 'legacy_check_special_cases'
drivers/ata/pata_legacy.c:1024: warning: Excess function parameter 'master' description in 'legacy_check_special_cases'
drivers/ata/pata_legacy.c:1024: warning: Excess function parameter 'master' description in 'legacy_check_special_cases'
Cc: Jens Axboe <axboe@kernel.dk>
Cc: Colten Edwards <pje120@cs.usask.ca>
Cc: Samuel Thibault <samuel.thibault@ens-lyon.org>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
---
drivers/ata/pata_legacy.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/ata/pata_legacy.c b/drivers/ata/pata_legacy.c
index 4fd12b20df239..a7235bde6ae87 100644
--- a/drivers/ata/pata_legacy.c
+++ b/drivers/ata/pata_legacy.c
@@ -588,7 +588,7 @@ static void opti82c46x_set_piomode(struct ata_port *ap, struct ata_device *adev)
}
/**
- * opt82c465mv_qc_issue - command issue
+ * opti82c46x_qc_issue - command issue
* @qc: command pending
*
* Called when the libata layer is about to issue a command. We wrap
@@ -923,7 +923,7 @@ static __init int probe_chip_type(struct legacy_probe *probe)
/**
* legacy_init_one - attach a legacy interface
- * @pl: probe record
+ * @probe: probe record
*
* Register an ISA bus IDE interface. Such interfaces are PIO and we
* assume do not support IRQ sharing.
@@ -1009,8 +1009,8 @@ static __init int legacy_init_one(struct legacy_probe *probe)
/**
* legacy_check_special_cases - ATA special cases
* @p: PCI device to check
- * @master: set this if we find an ATA master
- * @master: set this if we find an ATA secondary
+ * @primary: set this if we find an ATA master
+ * @secondary: set this if we find an ATA secondary
*
* A small number of vendors implemented early PCI ATA interfaces
* on bridge logic without the ATA interface being PCI visible.
--
2.27.0
next prev parent 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 ` [PATCH 01/15] ata: pata_pdc202xx_old: Fix some incorrectly named functions Lee Jones
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 ` Lee Jones [this message]
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-12-lee.jones@linaro.org \
--to=lee.jones@linaro.org \
--cc=axboe@kernel.dk \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=pje120@cs.usask.ca \
--cc=samuel.thibault@ens-lyon.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).