Message ID | 20201112110204.2083435-2-lee.jones@linaro.org |
---|---|
State | Accepted |
Commit | 35b076b99546941c0f7841ec7c80225e7e4817a7 |
Headers | show |
Series | Rid W=1 issues from Input | expand |
On Thu, Nov 12, 2020 at 11:01:50AM +0000, Lee Jones wrote: > Fixes the following W=1 kernel build warning(s): > > drivers/input/joystick/xpad.c:1361: warning: Function parameter or member 'xpad' not described in 'xpad_send_led_command' > drivers/input/joystick/xpad.c:1361: warning: Function parameter or member 'command' not described in 'xpad_send_led_command' > > Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> > Cc: "Łukasz Patron" <priv.luk@gmail.com> > Cc: Cameron Gutman <aicommander@gmail.com> > Cc: Marko Friedemann <mfr@bmx-chemnitz.de> > Cc: Oliver Schwartz <Oliver.Schwartz@gmx.de> > Cc: Steven Toth <steve@toth.demon.co.uk> > Cc: Franz Lehner <franz@caos.at> > Cc: Ivan Hawkes <blackhawk@ivanhawkes.com> > Cc: Dominic Cerquetti <binary1230@yahoo.com> > Cc: Adam Buchbinder <adam.buchbinder@gmail.com> > Cc: Jan Kratochvil <honza@jikos.cz> > Cc: Christoph Fritz <chf.fritz@googlemail.com> > Cc: linux-input@vger.kernel.org > Signed-off-by: Lee Jones <lee.jones@linaro.org> Applied, thank you. -- Dmitry
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c index c77cdb3b62b5b..2cd4296c2d082 100644 --- a/drivers/input/joystick/xpad.c +++ b/drivers/input/joystick/xpad.c @@ -1337,7 +1337,7 @@ struct xpad_led { struct usb_xpad *xpad; }; -/** +/* * set the LEDs on Xbox360 / Wireless Controllers * @param command * 0: off
Fixes the following W=1 kernel build warning(s): drivers/input/joystick/xpad.c:1361: warning: Function parameter or member 'xpad' not described in 'xpad_send_led_command' drivers/input/joystick/xpad.c:1361: warning: Function parameter or member 'command' not described in 'xpad_send_led_command' Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com> Cc: "Łukasz Patron" <priv.luk@gmail.com> Cc: Cameron Gutman <aicommander@gmail.com> Cc: Marko Friedemann <mfr@bmx-chemnitz.de> Cc: Oliver Schwartz <Oliver.Schwartz@gmx.de> Cc: Steven Toth <steve@toth.demon.co.uk> Cc: Franz Lehner <franz@caos.at> Cc: Ivan Hawkes <blackhawk@ivanhawkes.com> Cc: Dominic Cerquetti <binary1230@yahoo.com> Cc: Adam Buchbinder <adam.buchbinder@gmail.com> Cc: Jan Kratochvil <honza@jikos.cz> Cc: Christoph Fritz <chf.fritz@googlemail.com> Cc: linux-input@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/input/joystick/xpad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.25.1