RDMA/hw/qib/qib_ud: Provide description for 'qib_make_ud_req's 'flags' param
authorLee Jones <lee.jones@linaro.org>
Thu, 21 Jan 2021 09:45:08 +0000 (09:45 +0000)
committerJason Gunthorpe <jgg@nvidia.com>
Fri, 22 Jan 2021 18:37:33 +0000 (14:37 -0400)
Fixes the following W=1 kernel build warning(s):

 drivers/infiniband/hw/qib/qib_ud.c:231: warning: Function parameter or member 'flags' not described in 'qib_make_ud_req'

Link: https://lore.kernel.org/r/20210121094519.2044049-20-lee.jones@linaro.org
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>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/qib/qib_ud.c

index 93ca21347959f734b650ac2528ec10f1c7827225..81eda94bd27990f0276567e782fbc08a64c02f66 100644 (file)
@@ -222,6 +222,7 @@ drop:
 /**
  * qib_make_ud_req - construct a UD request packet
  * @qp: the QP
+ * @flags: flags to modify and pass back to caller
  *
  * Assumes the s_lock is held.
  *