mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
024ca90151
commit
af24663bc8
|
@ -813,6 +813,10 @@ static struct scsi_cmnd *srp_claim_req(struct srp_target_port *target,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* srp_free_req() - Unmap data and add request to the free request list.
|
* srp_free_req() - Unmap data and add request to the free request list.
|
||||||
|
* @target: SRP target port.
|
||||||
|
* @req: Request to be freed.
|
||||||
|
* @scmnd: SCSI command associated with @req.
|
||||||
|
* @req_lim_delta: Amount to be added to @target->req_lim.
|
||||||
*/
|
*/
|
||||||
static void srp_free_req(struct srp_target_port *target,
|
static void srp_free_req(struct srp_target_port *target,
|
||||||
struct srp_request *req, struct scsi_cmnd *scmnd,
|
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)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* srp_tl_err_work() - handle a transport layer error
|
* srp_tl_err_work() - handle a transport layer error
|
||||||
|
* @work: Work structure embedded in an SRP target port.
|
||||||
*
|
*
|
||||||
* Note: This function may get invoked before the rport has been created,
|
* Note: This function may get invoked before the rport has been created,
|
||||||
* hence the target->rport test.
|
* hence the target->rport test.
|
||||||
|
@ -2316,6 +2321,8 @@ static struct class srp_class = {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* srp_conn_unique() - check whether the connection to a target is unique
|
* srp_conn_unique() - check whether the connection to a target is unique
|
||||||
|
* @host: SRP host.
|
||||||
|
* @target: SRP target port.
|
||||||
*/
|
*/
|
||||||
static bool srp_conn_unique(struct srp_host *host,
|
static bool srp_conn_unique(struct srp_host *host,
|
||||||
struct srp_target_port *target)
|
struct srp_target_port *target)
|
||||||
|
|
Loading…
Reference in New Issue