lkml.org 
[lkml]   [2020]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 23/36] tty: synclink_gt: Demote one kernel-doc header and repair another
    Date
    Fixes the following W=1 kernel build warning(s):

    drivers/tty/synclink_gt.c:633: warning: Function parameter or member 'tty' not described in 'ldisc_receive_buf'
    drivers/tty/synclink_gt.c:633: warning: Function parameter or member 'data' not described in 'ldisc_receive_buf'
    drivers/tty/synclink_gt.c:633: warning: Function parameter or member 'flags' not described in 'ldisc_receive_buf'
    drivers/tty/synclink_gt.c:633: warning: Function parameter or member 'count' not described in 'ldisc_receive_buf'
    drivers/tty/synclink_gt.c:1683: 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>
    ---
    drivers/tty/synclink_gt.c | 3 ++-
    1 file changed, 2 insertions(+), 1 deletion(-)

    diff --git a/drivers/tty/synclink_gt.c b/drivers/tty/synclink_gt.c
    index afa4cc52e48d7..c0b384e3ed4de 100644
    --- a/drivers/tty/synclink_gt.c
    +++ b/drivers/tty/synclink_gt.c
    @@ -620,7 +620,7 @@ static inline int sanity_check(struct slgt_info *info, char *devname, const char
    return 0;
    }

    -/**
    +/*
    * line discipline callback wrappers
    *
    * The wrappers maintain line discipline references
    @@ -1678,6 +1678,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.25.1
    \
     
     \ /
      Last update: 2020-11-04 20:37    [W:4.870 / U:0.936 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site