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 05/36] tty: tty_buffer: Add missing description for 'limit'
    Date
    Fixes the following W=1 kernel build warning(s):

    drivers/tty/tty_buffer.c:592: warning: Function parameter or member 'limit' not described in 'tty_buffer_set_limit'

    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: Jiri Slaby <jirislaby@kernel.org>
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    ---
    drivers/tty/tty_buffer.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/tty/tty_buffer.c b/drivers/tty/tty_buffer.c
    index bd2d91546e327..6d4995a5f3187 100644
    --- a/drivers/tty/tty_buffer.c
    +++ b/drivers/tty/tty_buffer.c
    @@ -583,6 +583,7 @@ void tty_buffer_init(struct tty_port *port)
    /**
    * tty_buffer_set_limit - change the tty buffer memory limit
    * @port: tty port to change
    + * @limit: memory limit to set
    *
    * Change the tty buffer memory limit.
    * Must be called before the other tty buffer functions are used.
    --
    2.25.1
    \
     
     \ /
      Last update: 2020-11-04 20:39    [W:2.200 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site