From 7285ff0b7d2ab4af12248b5226906f89e012899c Mon Sep 17 00:00:00 2001 From: Lee Jones Date: Wed, 4 Nov 2020 19:35:39 +0000 Subject: [PATCH] tty: synclinkmp: Add missing description for function param 'txqueue' Fixes the following W=1 kernel build warning(s): drivers/tty/synclinkmp.c:1808: warning: Function parameter or member 'txqueue' not described in 'hdlcdev_tx_timeout' Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: paulkf@microgate.com Signed-off-by: Lee Jones Link: https://lore.kernel.org/r/20201104193549.4026187-27-lee.jones@linaro.org Signed-off-by: Greg Kroah-Hartman --- drivers/tty/synclinkmp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/tty/synclinkmp.c b/drivers/tty/synclinkmp.c index ce08c5e..0ca738f 100644 --- a/drivers/tty/synclinkmp.c +++ b/drivers/tty/synclinkmp.c @@ -1803,6 +1803,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) { -- 2.7.4