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/[email protected] Reported-by: Abaci Robot <[email protected]> Signed-off-by: Yang Li <[email protected]> Reviewed-by: Md Haris Iqbal <[email protected]> Signed-off-by: Jason Gunthorpe <[email protected]>
1 parent b90c7e9 commit 9c47717

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)