Skip to content

Commit 9c47717

Browse files
Yang Lijgunthorpe
authored andcommitted
RDMA/rtrs-clt: Fix one kernel-doc comment
Add the description of @pathName and remove @sessname in rtrs_clt_open() kernel-doc comment to remove warnings found by running scripts/kernel-doc, which is caused by using 'make W=1'. drivers/infiniband/ulp/rtrs/rtrs-clt.c:2809: warning: Function parameter or member 'pathname' not described in 'rtrs_clt_open' drivers/infiniband/ulp/rtrs/rtrs-clt.c:2809: warning: Excess function parameter 'sessname' description in 'rtrs_clt_open' Link: https://lore.kernel.org/r/20220526130945.98601-1-yang.lee@linux.alibaba.com Reported-by: Abaci Robot <abaci@linux.alibaba.com> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Reviewed-by: Md Haris Iqbal <haris.iqbal@ionos.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
1 parent b90c7e9 commit 9c47717

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/infiniband/ulp/rtrs/rtrs-clt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2785,7 +2785,7 @@ static void free_clt(struct rtrs_clt_sess *clt)
27852785
/**
27862786
* rtrs_clt_open() - Open a path to an RTRS server
27872787
* @ops: holds the link event callback and the private pointer.
2788-
* @sessname: name of the session
2788+
* @pathname: name of the path to an RTRS server
27892789
* @paths: Paths to be established defined by their src and dst addresses
27902790
* @paths_num: Number of elements in the @paths array
27912791
* @port: port to be used by the RTRS session

0 commit comments

Comments
 (0)