projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
090c656
)
m68k: atari: Document data parameter of stdma_try_lock()
author
Geert Uytterhoeven
<geert@linux-m68k.org>
Wed, 13 Sep 2023 14:08:08 +0000
(16:08 +0200)
committer
Geert Uytterhoeven
<geert@linux-m68k.org>
Fri, 6 Oct 2023 08:03:02 +0000
(10:03 +0200)
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
arch/m68k/atari/stdma.c
patch
|
blob
|
history
diff --git
a/arch/m68k/atari/stdma.c
b/arch/m68k/atari/stdma.c
index ce6818eff75efcdf13e0a350a9c59783a3acd4ac..155fefff19b0e19d452ebd4769f3ff6dd6f98b80 100644
(file)
--- 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.
*/