diff options
author | Bart Van Assche <bvanassche@acm.org> | 2014-05-20 09:04:21 -0400 |
---|---|---|
committer | Roland Dreier <roland@purestorage.com> | 2014-05-20 12:20:51 -0400 |
commit | af24663bc8204695181cf3b92b7129efadd8d455 (patch) | |
tree | 0de355b4d7de8dcd7b1cb46f0ef2464af75adda2 /drivers/infiniband/ulp/srp | |
parent | 024ca90151f5e4296d30f72c13ff9a075e23c9ec (diff) |
IB/srp: Fix kernel-doc warnings
Avoid that the kernel-doc tool warns about missing argument
descriptions for the ib_srp.[ch] source files.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/ulp/srp')
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.c b/drivers/infiniband/ulp/srp/ib_srp.c index 5b2bed8fc493..4f8be375dd4b 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.c +++ b/drivers/infiniband/ulp/srp/ib_srp.c | |||
@@ -813,6 +813,10 @@ static struct scsi_cmnd *srp_claim_req(struct srp_target_port *target, | |||
813 | 813 | ||
814 | /** | 814 | /** |
815 | * srp_free_req() - Unmap data and add request to the free request list. | 815 | * srp_free_req() - Unmap data and add request to the free request list. |
816 | * @target: SRP target port. | ||
817 | * @req: Request to be freed. | ||
818 | * @scmnd: SCSI command associated with @req. | ||
819 | * @req_lim_delta: Amount to be added to @target->req_lim. | ||
816 | */ | 820 | */ |
817 | static void srp_free_req(struct srp_target_port *target, | 821 | static void srp_free_req(struct srp_target_port *target, |
818 | struct srp_request *req, struct scsi_cmnd *scmnd, | 822 | struct srp_request *req, struct scsi_cmnd *scmnd, |
@@ -1455,6 +1459,7 @@ static void srp_handle_recv(struct srp_target_port *target, struct ib_wc *wc) | |||
1455 | 1459 | ||
1456 | /** | 1460 | /** |
1457 | * srp_tl_err_work() - handle a transport layer error | 1461 | * srp_tl_err_work() - handle a transport layer error |
1462 | * @work: Work structure embedded in an SRP target port. | ||
1458 | * | 1463 | * |
1459 | * Note: This function may get invoked before the rport has been created, | 1464 | * Note: This function may get invoked before the rport has been created, |
1460 | * hence the target->rport test. | 1465 | * hence the target->rport test. |
@@ -2316,6 +2321,8 @@ static struct class srp_class = { | |||
2316 | 2321 | ||
2317 | /** | 2322 | /** |
2318 | * srp_conn_unique() - check whether the connection to a target is unique | 2323 | * srp_conn_unique() - check whether the connection to a target is unique |
2324 | * @host: SRP host. | ||
2325 | * @target: SRP target port. | ||
2319 | */ | 2326 | */ |
2320 | static bool srp_conn_unique(struct srp_host *host, | 2327 | static bool srp_conn_unique(struct srp_host *host, |
2321 | struct srp_target_port *target) | 2328 | struct srp_target_port *target) |