Messages in this thread Patch in this message | | | From | Lee Jones <> | Subject | [PATCH 09/15] ata: pata_opti: Fix spelling issue of 'val' in 'opti_write_reg()' | Date | Thu, 18 Mar 2021 08:51:44 +0000 |
| |
Fixes the following W=1 kernel build warning(s):
drivers/ata/pata_opti.c:82: warning: Function parameter or member 'val' not described in 'opti_write_reg' drivers/ata/pata_opti.c:82: warning: Excess function parameter 'value' description in 'opti_write_reg'
Cc: Jens Axboe <axboe@kernel.dk> Cc: Jaromir Koutek <miri@punknet.cz> Cc: Jan Harkes <jaharkes@cwi.nl> Cc: Mark Lord <mlord@pobox.com> Cc: linux-ide@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/ata/pata_opti.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/ata/pata_opti.c b/drivers/ata/pata_opti.c index 06a800a3b0706..01976c4e40330 100644 --- a/drivers/ata/pata_opti.c +++ b/drivers/ata/pata_opti.c @@ -69,7 +69,7 @@ static int opti_pre_reset(struct ata_link *link, unsigned long deadline) /** * opti_write_reg - control register setup * @ap: ATA port - * @value: value + * @val: value * @reg: control register number * * The Opti uses magic 'trapdoor' register accesses to do configuration -- 2.27.0
| |