* [PATCH] Input: gscps2 - Describe missing function parameters
@ 2025-02-05 18:04 Helge Deller
2025-02-28 7:22 ` Helge Deller
0 siblings, 1 reply; 2+ messages in thread
From: Helge Deller @ 2025-02-05 18:04 UTC (permalink / raw)
To: Dmitry Torokhov, linux-input, linux-parisc
Avoid compiler warnings when building with W=1 by adding documentation for
the missing function parameters.
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/drivers/input/serio/gscps2.c b/drivers/input/serio/gscps2.c
index 4fada5bc2a38..9c6ff04c46cf 100644
--- a/drivers/input/serio/gscps2.c
+++ b/drivers/input/serio/gscps2.c
@@ -251,6 +251,8 @@ static bool gscps2_report_data(struct gscps2port *ps2port)
/**
* gscps2_interrupt() - Interruption service routine
+ * @irq: interrupt number which triggered (unused)
+ * @dev: device pointer (unused)
*
* This function reads received PS/2 bytes and processes them on
* all interfaces.
@@ -329,6 +331,8 @@ static void gscps2_close(struct serio *port)
/**
* gscps2_probe() - Probes PS2 devices
+ * @dev: pointer to parisc_device struct which will be probed
+ *
* @return: success/error report
*/
@@ -420,6 +424,8 @@ static int __init gscps2_probe(struct parisc_device *dev)
/**
* gscps2_remove() - Removes PS2 devices
+ * @dev: pointer to parisc_device which shall be removed
+ *
* @return: success/error report
*/
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Input: gscps2 - Describe missing function parameters
2025-02-05 18:04 [PATCH] Input: gscps2 - Describe missing function parameters Helge Deller
@ 2025-02-28 7:22 ` Helge Deller
0 siblings, 0 replies; 2+ messages in thread
From: Helge Deller @ 2025-02-28 7:22 UTC (permalink / raw)
To: Helge Deller, Dmitry Torokhov, linux-input, linux-parisc
On 2/5/25 19:04, Helge Deller wrote:
> Avoid compiler warnings when building with W=1 by adding documentation for
> the missing function parameters.
>
> Signed-off-by: Helge Deller <deller@gmx.de>
applied to parisc git tree.
Helge
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-02-28 7:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-05 18:04 [PATCH] Input: gscps2 - Describe missing function parameters Helge Deller
2025-02-28 7:22 ` Helge Deller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).