aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/tty/synclink.c
diff options
context:
space:
mode:
authorLee Jones <lee.jones@linaro.org>2020-11-04 19:35:49 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-11-06 10:54:05 +0100
commita296b3de30836e79c6d59d5349265d592a0e7993 (patch)
tree95dc1f6c43fc05312c2989946703bc7ee07b3ed5 /drivers/tty/synclink.c
parenttty: hvc: hvc_opal: Staticify function invoked by reference (diff)
downloadlinux-a296b3de30836e79c6d59d5349265d592a0e7993.tar.xz
linux-a296b3de30836e79c6d59d5349265d592a0e7993.zip
tty: synclink: Provide missing description for 'hdlcdev_tx_timeout's 'txqueue' param
Fixes the following W=1 kernel build warning(s): drivers/tty/synclink.c:7708: warning: Function parameter or member 'txqueue' not described in 'hdlcdev_tx_timeout' Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Jiri Slaby <jirislaby@kernel.org> Cc: paulkf@microgate.com Signed-off-by: Lee Jones <lee.jones@linaro.org> Link: https://lore.kernel.org/r/20201104193549.4026187-37-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/synclink.c')
-rw-r--r--drivers/tty/synclink.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/tty/synclink.c b/drivers/tty/synclink.c
index c8324d58ef56..3b370d0a19cb 100644
--- a/drivers/tty/synclink.c
+++ b/drivers/tty/synclink.c
@@ -7703,6 +7703,7 @@ static int hdlcdev_ioctl(struct net_device *dev, struct ifreq *ifr, int cmd)
* hdlcdev_tx_timeout - called by network layer when transmit timeout is detected
*
* @dev: pointer to network device structure
+ * @txqueue: unused
*/
static void hdlcdev_tx_timeout(struct net_device *dev, unsigned int txqueue)
{