summaryrefslogtreecommitdiff
path: root/drivers/ata
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2021-02-01 14:39:23 +0000
committerJens Axboe <axboe@kernel.dk>2021-03-12 07:28:30 -0700
commit32db9fad69390774bbbd4fd0659b96a7837a2348 (patch)
treec6af74c2d95b30aae3183f6d19589d156e2a69df /drivers/ata
parent842a5e584ee5bf9ecdb0c9a31c3dae18b9396ed4 (diff)
ata: libata-pmp: Fix misspelling of 'val'
Fixes the following W=1 kernel build warning(s): drivers/ata/libata-pmp.c:76: warning: Function parameter or member 'val' not described in 'sata_pmp_write' drivers/ata/libata-pmp.c:76: warning: Excess function parameter 'r_val' description in 'sata_pmp_write' Cc: Jens Axboe <axboe@kernel.dk> Cc: Tejun Heo <teheo@suse.de> Cc: linux-ide@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ata')
-rw-r--r--drivers/ata/libata-pmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/libata-pmp.c b/drivers/ata/libata-pmp.c
index 79f2aeeb482a..ba7be3f38617 100644
--- a/drivers/ata/libata-pmp.c
+++ b/drivers/ata/libata-pmp.c
@@ -62,7 +62,7 @@ static unsigned int sata_pmp_read(struct ata_link *link, int reg, u32 *r_val)
* sata_pmp_write - write PMP register
* @link: link to write PMP register for
* @reg: register to write
- * @r_val: value to write
+ * @val: value to write
*
* Write PMP register.
*