RDMA/hw/hfi1/user_exp_rcv: Demote half-documented and kernel-doc abuses
Fixes the following W=1 kernel build warning(s): drivers/infiniband/hw/hfi1/user_exp_rcv.c:174: warning: Function parameter or member 'fd' not described in 'unpin_rcv_pages' drivers/infiniband/hw/hfi1/user_exp_rcv.c:174: warning: Function parameter or member 'tidbuf' not described in 'unpin_rcv_pages' drivers/infiniband/hw/hfi1/user_exp_rcv.c:174: warning: Function parameter or member 'node' not described in 'unpin_rcv_pages' drivers/infiniband/hw/hfi1/user_exp_rcv.c:174: warning: Function parameter or member 'idx' not described in 'unpin_rcv_pages' drivers/infiniband/hw/hfi1/user_exp_rcv.c:174: warning: Function parameter or member 'npages' not described in 'unpin_rcv_pages' drivers/infiniband/hw/hfi1/user_exp_rcv.c:174: warning: Function parameter or member 'mapped' not described in 'unpin_rcv_pages' drivers/infiniband/hw/hfi1/user_exp_rcv.c:196: warning: Function parameter or member 'fd' not described in 'pin_rcv_pages' drivers/infiniband/hw/hfi1/user_exp_rcv.c:196: warning: Function parameter or member 'tidbuf' not described in 'pin_rcv_pages' Link: https://lore.kernel.org/r/20210126124732.3320971-19-lee.jones@linaro.org Cc: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com> Cc: Dennis Dalessandro <dennis.dalessandro@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:
parent
16e1b5364f
commit
c6f2b65e9a
@ -154,12 +154,12 @@ void hfi1_user_exp_rcv_free(struct hfi1_filedata *fd)
|
||||
fd->entry_to_rb = NULL;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Release pinned receive buffer pages.
|
||||
*
|
||||
* @mapped - true if the pages have been DMA mapped. false otherwise.
|
||||
* @idx - Index of the first page to unpin.
|
||||
* @npages - No of pages to unpin.
|
||||
* @mapped: true if the pages have been DMA mapped. false otherwise.
|
||||
* @idx: Index of the first page to unpin.
|
||||
* @npages: No of pages to unpin.
|
||||
*
|
||||
* If the pages have been DMA mapped (indicated by mapped parameter), their
|
||||
* info will be passed via a struct tid_rb_node. If they haven't been mapped,
|
||||
@ -189,7 +189,7 @@ static void unpin_rcv_pages(struct hfi1_filedata *fd,
|
||||
fd->tid_n_pinned -= npages;
|
||||
}
|
||||
|
||||
/**
|
||||
/*
|
||||
* Pin receive buffer pages.
|
||||
*/
|
||||
static int pin_rcv_pages(struct hfi1_filedata *fd, struct tid_user_buf *tidbuf)
|
||||
|
Loading…
x
Reference in New Issue
Block a user