lkml.org 
[lkml]   [2021]   [Jan]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 16/30] RDMA/hw/qib/qib_twsi: Provide description for missing param 'last'
    Date
    Fixes the following W=1 kernel build warning(s):

    drivers/infiniband/hw/qib/qib_twsi.c:175: warning: Function parameter or member 'last' not described in 'rd_byte'

    Cc: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
    Cc: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
    Cc: Doug Ledford <dledford@redhat.com>
    Cc: Jason Gunthorpe <jgg@ziepe.ca>
    Cc: linux-rdma@vger.kernel.org
    Signed-off-by: Lee Jones <lee.jones@linaro.org>
    ---
    drivers/infiniband/hw/qib/qib_twsi.c | 1 +
    1 file changed, 1 insertion(+)

    diff --git a/drivers/infiniband/hw/qib/qib_twsi.c b/drivers/infiniband/hw/qib/qib_twsi.c
    index f5698664419b4..97b8a2bf5c696 100644
    --- a/drivers/infiniband/hw/qib/qib_twsi.c
    +++ b/drivers/infiniband/hw/qib/qib_twsi.c
    @@ -168,6 +168,7 @@ static void stop_cmd(struct qib_devdata *dd);
    /**
    * rd_byte - read a byte, sending STOP on last, else ACK
    * @dd: the qlogic_ib device
    + * @last: identifies the last read
    *
    * Returns byte shifted out of device
    */
    --
    2.25.1
    \
     
     \ /
      Last update: 2021-01-21 14:00    [W:2.345 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site