Skip to content

Commit

Permalink
tty: synclink: Provide missing description for 'hdlcdev_tx_timeout's …
Browse files Browse the repository at this point in the history
…'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>
  • Loading branch information
Lee Jones authored and Greg Kroah-Hartman committed Nov 6, 2020
1 parent 27122bf commit a296b3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/tty/synclink.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit a296b3d

Please sign in to comment.