[PATCH 03/21] ide: ide-dma-sff: Provide some missing 'param' descriptions
From: Lee Jones <hidden>
Date: 2021-06-02 10:18:03
Also in:
lkml
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Lee Jones <hidden>
Date: 2021-06-02 10:18:03
Also in:
lkml
Subsystem:
the rest · Maintainer:
Linus Torvalds
Fixes the following W=1 kernel build warning(s): drivers/ide/ide-dma-sff.c:84: warning: Function parameter or member 'on' not described in 'ide_dma_host_set' drivers/ide/ide-dma-sff.c:116: warning: Function parameter or member 'drive' not described in 'ide_build_dmatable' drivers/ide/ide-dma-sff.c:116: warning: Function parameter or member 'cmd' not described in 'ide_build_dmatable' Cc: "David S. Miller" <davem@davemloft.net> Cc: linux-ide@vger.kernel.org Signed-off-by: Lee Jones <redacted> --- drivers/ide/ide-dma-sff.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/drivers/ide/ide-dma-sff.c b/drivers/ide/ide-dma-sff.c
index b7c2c0bd18b53..8603df4d92fd8 100644
--- a/drivers/ide/ide-dma-sff.c
+++ b/drivers/ide/ide-dma-sff.c@@ -75,6 +75,7 @@ static void ide_dma_sff_write_status(ide_hwif_t *hwif, u8 val) /** * ide_dma_host_set - Enable/disable DMA on a host * @drive: drive to control + * @on: whether to enable/disable the IDE controller's DMA * * Enable/disable DMA on an IDE controller following generic * bus-mastering IDE controller behaviour.
@@ -98,6 +99,9 @@ EXPORT_SYMBOL_GPL(ide_dma_host_set); /** * ide_build_dmatable - build IDE DMA table * + * @drive: The drive to unmap + * @cmd: The IDEcommand + * * ide_build_dmatable() prepares a dma request. We map the command * to get the pci bus addresses of the buffers and then build up * the PRD table that the IDE layer wants to be fed.
--
2.31.1