lkml.org 
[lkml]   [2020]   [Jul]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 19/30] misc: mic: scif: scif_api: Demote scif_accept() function header
    Date
    The correct format is not used and no attempt has been made
    to document the function arguments. Makes sense to just demote
    the header back down to a simple comment.

    Fixes the following W=1 warnings:

    drivers/misc/mic/scif/scif_api.c:739: warning: Function parameter or member 'epd' not described in 'scif_accept'
    drivers/misc/mic/scif/scif_api.c:739: warning: Function parameter or member 'peer' not described in 'scif_accept'
    drivers/misc/mic/scif/scif_api.c:739: warning: Function parameter or member 'newepd' not described in 'scif_accept'
    drivers/misc/mic/scif/scif_api.c:739: warning: Function parameter or member 'flags' not described in 'scif_accept'

    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    ---
    drivers/misc/mic/scif/scif_api.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/misc/mic/scif/scif_api.c b/drivers/misc/mic/scif/scif_api.c
    index d7faffdd87e92..9cc6b2a6cf229 100644
    --- a/drivers/misc/mic/scif/scif_api.c
    +++ b/drivers/misc/mic/scif/scif_api.c
    @@ -713,7 +713,7 @@ int scif_connect(scif_epd_t epd, struct scif_port_id *dst)
    }
    EXPORT_SYMBOL_GPL(scif_connect);

    -/**
    +/*
    * scif_accept() - Accept a connection request from the remote node
    *
    * The function accepts a connection request from the remote node. Successful
    --
    2.25.1
    \
     
     \ /
      Last update: 2020-07-01 10:32    [W:4.197 / U:0.228 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site