RDMA/hw/qib/qib_qp: Fix some issues in worthy kernel-doc headers and demote another

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

 drivers/infiniband/hw/qib/qib_qp.c:214: warning: Function parameter or member 'rdi' not described in 'qib_free_all_qps'
 drivers/infiniband/hw/qib/qib_qp.c:387: warning: Function parameter or member 'qp' not described in 'qib_check_send_wqe'
 drivers/infiniband/hw/qib/qib_qp.c:387: warning: Function parameter or member 'wqe' not described in 'qib_check_send_wqe'
 drivers/infiniband/hw/qib/qib_qp.c:387: warning: Function parameter or member 'call_send' not described in 'qib_check_send_wqe'
 drivers/infiniband/hw/qib/qib_qp.c:425: warning: Function parameter or member 's' not described in 'qib_qp_iter_print'
 drivers/infiniband/hw/qib/qib_qp.c:425: warning: Function parameter or member 'iter' not described in 'qib_qp_iter_print'

Link: https://lore.kernel.org/r/20210121094519.2044049-13-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>
This commit is contained in:
Lee Jones 2021-01-21 09:45:01 +00:00 коммит произвёл Jason Gunthorpe
Родитель 63f774c512
Коммит 0bbc2aea2b
1 изменённых файлов: 6 добавлений и 6 удалений

Просмотреть файл

@ -207,7 +207,7 @@ bail:
return ret; return ret;
} }
/** /*
* qib_free_all_qps - check for QPs still in use * qib_free_all_qps - check for QPs still in use
*/ */
unsigned qib_free_all_qps(struct rvt_dev_info *rdi) unsigned qib_free_all_qps(struct rvt_dev_info *rdi)
@ -376,9 +376,9 @@ void qib_flush_qp_waiters(struct rvt_qp *qp)
/** /**
* qib_check_send_wqe - validate wr/wqe * qib_check_send_wqe - validate wr/wqe
* @qp - The qp * @qp: The qp
* @wqe - The built wqe * @wqe: The built wqe
* @call_send - Determine if the send should be posted or scheduled * @call_send: Determine if the send should be posted or scheduled
* *
* Returns 0 on success, -EINVAL on failure * Returns 0 on success, -EINVAL on failure
*/ */
@ -418,8 +418,8 @@ static const char * const qp_type_str[] = {
/** /**
* qib_qp_iter_print - print information to seq_file * qib_qp_iter_print - print information to seq_file
* @s - the seq_file * @s: the seq_file
* @iter - the iterator * @iter: the iterator
*/ */
void qib_qp_iter_print(struct seq_file *s, struct rvt_qp_iter *iter) void qib_qp_iter_print(struct seq_file *s, struct rvt_qp_iter *iter)
{ {