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 06/36] tty: tty_port: Demote obvious abuse of kernel-doc formatting
    Date
    Fixes the following W=1 kernel build warning(s):

    drivers/tty/tty_port.c:633: warning: Function parameter or member 'port' not described in 'tty_port_close'
    drivers/tty/tty_port.c:633: warning: Function parameter or member 'tty' not described in 'tty_port_close'
    drivers/tty/tty_port.c:633: warning: Function parameter or member 'filp' not described in 'tty_port_close'
    drivers/tty/tty_port.c:672: warning: Function parameter or member 'port' not described in 'tty_port_open'
    drivers/tty/tty_port.c:672: warning: Function parameter or member 'tty' not described in 'tty_port_open'
    drivers/tty/tty_port.c:672: warning: Function parameter or member 'filp' not described in 'tty_port_open'

    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_port.c | 4 ++--
    1 file changed, 2 insertions(+), 2 deletions(-)

    diff --git a/drivers/tty/tty_port.c b/drivers/tty/tty_port.c
    index ea80bf872f543..346d20f4a4862 100644
    --- a/drivers/tty/tty_port.c
    +++ b/drivers/tty/tty_port.c
    @@ -623,7 +623,7 @@ void tty_port_close_end(struct tty_port *port, struct tty_struct *tty)
    }
    EXPORT_SYMBOL(tty_port_close_end);

    -/**
    +/*
    * tty_port_close
    *
    * Caller holds tty lock
    @@ -659,7 +659,7 @@ int tty_port_install(struct tty_port *port, struct tty_driver *driver,
    }
    EXPORT_SYMBOL_GPL(tty_port_install);

    -/**
    +/*
    * tty_port_open
    *
    * Caller holds tty lock.
    --
    2.25.1
    \
     
     \ /
      Last update: 2020-11-04 20:39    [W:4.031 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site