aboutsummaryrefslogtreecommitdiffstats
path: root/arch/m68k
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert@linux-m68k.org>2023-09-13 16:08:08 +0200
committerGeert Uytterhoeven <geert@linux-m68k.org>2023-10-06 10:03:02 +0200
commit4ad69503d8d261b7ccb8c01a681fe3b155db297a (patch)
treede77fe6cf6be5f36e3e1363d756aa043ac099354 /arch/m68k
parent090c65639adda433f896e439dfdaaf819e45353f (diff)
downloadlinux-4ad69503d8d261b7ccb8c01a681fe3b155db297a.tar.gz
m68k: atari: Document data parameter of stdma_try_lock()
When building with W=1: arch/m68k/atari/stdma.c:69: warning: Function parameter or member 'data' not described in 'stdma_try_lock' Fix this by documenting the data parameter. Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org> Acked-by: Arnd Bergmann <arnd@arndb.de> Link: https://lore.kernel.org/r/a69dd3ab0a224e40ce5ce7b30981e2d7a0285a83.1694613528.git.geert@linux-m68k.org
Diffstat (limited to 'arch/m68k')
-rw-r--r--arch/m68k/atari/stdma.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/m68k/atari/stdma.c b/arch/m68k/atari/stdma.c
index ce6818eff75ef..155fefff19b0e 100644
--- a/arch/m68k/atari/stdma.c
+++ b/arch/m68k/atari/stdma.c
@@ -61,6 +61,7 @@ static irqreturn_t stdma_int (int irq, void *dummy);
/**
* stdma_try_lock - attempt to acquire ST DMA interrupt "lock"
* @handler: interrupt handler to use after acquisition
+ * @data: cookie passed to the interrupt handler function
*
* Returns !0 if lock was acquired; otherwise 0.
*/