diff options
author | Lee Jones <lee.jones@linaro.org> | 2021-03-18 11:51:44 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-31 05:21:26 +0300 |
commit | dee1d6f3c70d5b3894c113b1d11d5e7eb0394efb (patch) | |
tree | 981577e6208deba961ade3fec515690d64235846 /drivers/ata/pata_opti.c | |
parent | d29b031d43fbd46ce683572909427f1588f6f2ce (diff) |
ata: pata_opti: Fix spelling issue of 'val' in 'opti_write_reg()'
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>
Link: https://lore.kernel.org/r/20210318085150.3131936-10-lee.jones@linaro.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ata/pata_opti.c')
-rw-r--r-- | drivers/ata/pata_opti.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_opti.c b/drivers/ata/pata_opti.c index 06a800a3b070..01976c4e4033 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 |