aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Jones <[email protected]>2021-03-18 08:51:44 +0000
committerJens Axboe <[email protected]>2021-03-30 20:21:26 -0600
commitdee1d6f3c70d5b3894c113b1d11d5e7eb0394efb (patch)
tree981577e6208deba961ade3fec515690d64235846
parentd29b031d43fbd46ce683572909427f1588f6f2ce (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 <[email protected]> Cc: Jaromir Koutek <[email protected]> Cc: Jan Harkes <[email protected]> Cc: Mark Lord <[email protected]> Cc: [email protected] Signed-off-by: Lee Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
-rw-r--r--drivers/ata/pata_opti.c2
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