lkml.org 
[lkml]   [2020]   [Jul]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 11/32] usb: gadget: function: f_fs: Demote function header which is clearly not kerneldoc
    Date
    No attempt has been made to document the demoted function here.

    Fixes the following W=1 kernel build warning(s):

    drivers/usb/gadget/function/f_fs.c:2361: warning: Function parameter or member 'type' not described in '__ffs_data_do_os_desc'
    drivers/usb/gadget/function/f_fs.c:2361: warning: Function parameter or member 'h' not described in '__ffs_data_do_os_desc'
    drivers/usb/gadget/function/f_fs.c:2361: warning: Function parameter or member 'data' not described in '__ffs_data_do_os_desc'
    drivers/usb/gadget/function/f_fs.c:2361: warning: Function parameter or member 'len' not described in '__ffs_data_do_os_desc'
    drivers/usb/gadget/function/f_fs.c:2361: warning: Function parameter or member 'priv' not described in '__ffs_data_do_os_desc'

    Cc: Felipe Balbi <balbi@kernel.org>
    Cc: David Howells <dhowells@redhat.com>
    Cc: Michal Nazarewicz <mina86@mina86.com>
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    ---
    drivers/usb/gadget/function/f_fs.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/usb/gadget/function/f_fs.c b/drivers/usb/gadget/function/f_fs.c
    index 490d353d5fdec..2d00ba0726453 100644
    --- a/drivers/usb/gadget/function/f_fs.c
    +++ b/drivers/usb/gadget/function/f_fs.c
    @@ -2352,7 +2352,7 @@ static int __must_check ffs_do_os_descs(unsigned count,
    return _len - len;
    }

    -/**
    +/*
    * Validate contents of the buffer from userspace related to OS descriptors.
    */
    static int __ffs_data_do_os_desc(enum ffs_os_desc_type type,
    --
    2.25.1
    \
     
     \ /
      Last update: 2020-07-06 15:36    [W:3.761 / U:0.052 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site