ata: pata_optidma: Fix a function misnaming, a formatting issue and a missing description
authorLee Jones <lee.jones@linaro.org>
Mon, 1 Feb 2021 14:39:39 +0000 (14:39 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 12 Mar 2021 14:28:31 +0000 (07:28 -0700)
commit92a5e8827c9e1a851d8c7967e70fe247d4427f7d
treef92e9002c633bcc6feeb56e263db7d2ab9b19663
parentefd2cbe82f503e6fa3509987c7d46f39c7bd37a1
ata: pata_optidma: Fix a function misnaming, a formatting issue and a missing description

Fixes the following W=1 kernel build warning(s):

 drivers/ata/pata_optidma.c:298: warning: expecting prototype for optidma_make_bits(). Prototype was for optidma_make_bits43() instead
 drivers/ata/pata_optidma.c:319: warning: Function parameter or member 'r_failed' not described in 'optidma_set_mode'
 drivers/ata/pata_optidma.c:361: warning: Function parameter or member 'pdev' not described in 'optiplus_with_udma'

Cc: Jens Axboe <axboe@kernel.dk>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/ata/pata_optidma.c