[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210602101722.2276638-3-lee.jones@linaro.org>
Date: Wed, 2 Jun 2021 11:17:03 +0100
From: Lee Jones <lee.jones@...aro.org>
To: lee.jones@...aro.org
Cc: linux-kernel@...r.kernel.org,
"David S. Miller" <davem@...emloft.net>,
Andre Hedrick <andre@...ux-ide.org>,
"Christopher J. Reimer" <reimer@....carleton.ca>,
Benoit Poulot-Cazajous <poulot@...rus.fr>,
Christian Brunner <chb@....de>,
Robert Bringman <rob@...s.trion.com>, linux-ide@...r.kernel.org
Subject: [PATCH 02/21] ide: ide-dma: Document ide_dma_unmap_sg()'s missing 'cmd' param
Fixes the following W=1 kernel build warning(s):
drivers/ide/ide-dma.c:165: warning: Function parameter or member 'cmd' not described in 'ide_dma_unmap_sg'
Cc: "David S. Miller" <davem@...emloft.net>
Cc: Andre Hedrick <andre@...ux-ide.org>
Cc: "Christopher J. Reimer" <reimer@....carleton.ca>
Cc: Benoit Poulot-Cazajous <poulot@...rus.fr>
Cc: Christian Brunner <chb@....de>
Cc: Robert Bringman <rob@...s.trion.com>
Cc: linux-ide@...r.kernel.org
Signed-off-by: Lee Jones <lee.jones@...aro.org>
---
drivers/ide/ide-dma.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/ide/ide-dma.c b/drivers/ide/ide-dma.c
index 6f344654ef229..a02d02ad9ea23 100644
--- a/drivers/ide/ide-dma.c
+++ b/drivers/ide/ide-dma.c
@@ -153,6 +153,7 @@ static int ide_dma_map_sg(ide_drive_t *drive, struct ide_cmd *cmd)
/**
* ide_dma_unmap_sg - clean up DMA mapping
* @drive: The drive to unmap
+ * @cmd: The IDEcommand
*
* Teardown mappings after DMA has completed. This must be called
* after the completion of each use of ide_build_dmatable and before
--
2.31.1
Powered by blists - more mailing lists