Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ata: pata_sis: Remove superfluous param description and supply another

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

drivers/ata/pata_sis.c:124: warning: Excess function parameter 'deadline' description in 'sis_133_cable_detect'
drivers/ata/pata_sis.c:529: warning: Function parameter or member 'mask' not described in 'sis_133_mode_filter'

Cc: Jens Axboe <axboe@kernel.dk>
Cc: Andre Hedrick <andre@linux-ide.org>
Cc: Lionel Bouton <Lionel.Bouton@inet6.fr>
Cc: Vojtech Pavlik <vojtech@suse.cz>
Cc: "L.C. Chang" <lcchang@sis.com.tw>
Cc: linux-ide@vger.kernel.org
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Link: https://lore.kernel.org/r/20210318085150.3131936-4-lee.jones@linaro.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>

authored by

Lee Jones and committed by
Jens Axboe
8927c41e 91c50d8a

+1 -1
+1 -1
drivers/ata/pata_sis.c
··· 114 114 /** 115 115 * sis_133_cable_detect - check for 40/80 pin 116 116 * @ap: Port 117 - * @deadline: deadline jiffies for the operation 118 117 * 119 118 * Perform cable detection for the later UDMA133 capable 120 119 * SiS chipset. ··· 520 521 /** 521 522 * sis_133_mode_filter - mode selection filter 522 523 * @adev: ATA device 524 + * @mask: received mask to manipulate and pass back 523 525 * 524 526 * Block UDMA6 on devices that do not support it. 525 527 */