Commit 77269cdf authored by Bart Van Assche's avatar Bart Van Assche Committed by Doug Ledford

IB/srp: Document srp_map_data() return value

Signed-off-by: default avatarBart Van Assche <>
Reviewed-by: default avatarSagi Grimberg <>
Cc: Christoph Hellwig <>
Cc: Laurence Oberman <>
Reviewed-by: default avatarChristoph Hellwig <>
Signed-off-by: default avatarDoug Ledford <>
parent 6ec2ba02
......@@ -1534,6 +1534,15 @@ static int srp_map_idb(struct srp_rdma_ch *ch, struct srp_request *req,
return 0;
* srp_map_data() - map SCSI data buffer onto an SRP request
* @scmnd: SCSI command to map
* @ch: SRP RDMA channel
* @req: SRP request
* Returns the length in bytes of the SRP_CMD IU or a negative value if
* mapping failed.
static int srp_map_data(struct scsi_cmnd *scmnd, struct srp_rdma_ch *ch,
struct srp_request *req)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment