infiniband: fix sw/rdmavt/* kernel-doc notation
Use correct parameter names and formatting in function kernel-doc notation to eliminate warnings from scripts/kernel-doc. ../drivers/infiniband/sw/rdmavt/mr.c:784: warning: Excess function parameter 'ibmfr' description in 'rvt_map_phys_fmr' ../drivers/infiniband/sw/rdmavt/vt.c:234: warning: Excess function parameter 'intex' description in 'rvt_query_pkey' ../drivers/infiniband/sw/rdmavt/vt.c:266: warning: Excess function parameter 'index' description in 'rvt_query_gid' ../drivers/infiniband/sw/rdmavt/vt.c:306: warning: Excess function parameter 'data' description in 'rvt_alloc_ucontext' ../drivers/infiniband/sw/rdmavt/cq.c:65: warning: Excess function parameter 'sig' description in 'rvt_cq_enter' ../drivers/infiniband/sw/rdmavt/qp.c:279: warning: Excess function parameter 'qpt' description in 'rvt_free_all_qps' ../drivers/infiniband/sw/rdmavt/mcast.c:282: warning: Excess function parameter 'igd' description in 'rvt_attach_mcast' ../drivers/infiniband/sw/rdmavt/mcast.c:345: warning: Excess function parameter 'igd' description in 'rvt_detach_mcast' Signed-off-by: Randy Dunlap <rdunlap@infradead.org> Cc: Doug Ledford <dledford@redhat.com> Cc: Jason Gunthorpe <jgg@mellanox.com> Cc: linux-doc@vger.kernel.org Acked-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
このコミットが含まれているのは:
@@ -224,7 +224,8 @@ static int rvt_modify_port(struct ib_device *ibdev, u8 port_num,
|
||||
* rvt_query_pkey - Return a pkey from the table at a given index
|
||||
* @ibdev: Verbs IB dev
|
||||
* @port_num: Port number, 1 based from ib core
|
||||
* @intex: Index into pkey table
|
||||
* @index: Index into pkey table
|
||||
* @pkey: returned pkey from the port pkey table
|
||||
*
|
||||
* Return: 0 on failure pkey otherwise
|
||||
*/
|
||||
@@ -255,7 +256,7 @@ static int rvt_query_pkey(struct ib_device *ibdev, u8 port_num, u16 index,
|
||||
* rvt_query_gid - Return a gid from the table
|
||||
* @ibdev: Verbs IB dev
|
||||
* @port_num: Port number, 1 based from ib core
|
||||
* @index: = Index in table
|
||||
* @guid_index: Index in table
|
||||
* @gid: Gid to return
|
||||
*
|
||||
* Return: 0 on success
|
||||
@@ -297,8 +298,8 @@ static inline struct rvt_ucontext *to_iucontext(struct ib_ucontext
|
||||
|
||||
/**
|
||||
* rvt_alloc_ucontext - Allocate a user context
|
||||
* @ibdev: Vers IB dev
|
||||
* @data: User data allocated
|
||||
* @ibdev: Verbs IB dev
|
||||
* @udata: User data allocated
|
||||
*/
|
||||
static struct ib_ucontext *rvt_alloc_ucontext(struct ib_device *ibdev,
|
||||
struct ib_udata *udata)
|
||||
|
新しいイシューから参照
ユーザーをブロックする