From: Lee Jones Date: Mon, 1 Feb 2021 14:39:23 +0000 (+0000) Subject: ata: libata-pmp: Fix misspelling of 'val' X-Git-Tag: v5.13-rc1~115^2~48 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32db9fad69390774bbbd4fd0659b96a7837a2348;p=thirdparty%2Flinux.git 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 Cc: Tejun Heo Cc: linux-ide@vger.kernel.org Signed-off-by: Lee Jones Signed-off-by: Jens Axboe --- diff --git a/drivers/ata/libata-pmp.c b/drivers/ata/libata-pmp.c index 79f2aeeb482ab..ba7be3f386171 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. *