lkml.org 
[lkml]   [2020]   [Jul]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 30/40] scsi: be2iscsi: be_iscsi: Correct misdocumentation of function param 'ep'
    Date
    Fixes the following W=1 kernel build warning(s):

    drivers/scsi/be2iscsi/be_iscsi.c:1042: warning: Function parameter or member 'ep' not described in 'beiscsi_open_conn'
    drivers/scsi/be2iscsi/be_iscsi.c:1042: warning: Excess function parameter 'beiscsi_ep' description in 'beiscsi_open_conn'

    Cc: Subbu Seetharaman <subbu.seetharaman@broadcom.com>
    Cc: Ketan Mukadam <ketan.mukadam@broadcom.com>
    Cc: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
    Cc: linux-drivers@broadcom.com
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    ---
    drivers/scsi/be2iscsi/be_iscsi.c | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/drivers/scsi/be2iscsi/be_iscsi.c b/drivers/scsi/be2iscsi/be_iscsi.c
    index fe10575bce7f0..93da6344424dd 100644
    --- a/drivers/scsi/be2iscsi/be_iscsi.c
    +++ b/drivers/scsi/be2iscsi/be_iscsi.c
    @@ -1029,7 +1029,7 @@ static void beiscsi_free_ep(struct beiscsi_endpoint *beiscsi_ep)

    /**
    * beiscsi_open_conn - Ask FW to open a TCP connection
    - * @beiscsi_ep: pointer to device endpoint struct
    + * @ep: pointer to device endpoint struct
    * @src_addr: The source IP address
    * @dst_addr: The Destination IP address
    * @non_blocking: blocking or non-blocking call
    --
    2.25.1
    \
     
     \ /
      Last update: 2020-07-23 14:25    [W:3.975 / U:0.068 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site