Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions block/blk-mq-dma.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ static bool blk_dma_map_iter_start(struct request *req, struct device *dma_dev,
* at unmap time, @iter is only needed at map time.
*
* Returns %false if there is no segment to map, including due to an error, or
* %true ft it did map a segment.
* %true if it did map a segment.
*
* If a segment was mapped, the DMA address for it is returned in @iter.addr and
* the length in @iter.len. If no segment was mapped the status code is
Expand Down Expand Up @@ -243,7 +243,7 @@ EXPORT_SYMBOL_GPL(blk_rq_dma_map_iter_start);
* arguments.
*
* Returns %false if there is no segment to map, including due to an error, or
* %true ft it did map a segment.
* %true if it did map a segment.
*
* If a segment was mapped, the DMA address for it is returned in @iter.addr and
* the length in @iter.len. If no segment was mapped the status code is
Expand Down Expand Up @@ -317,7 +317,7 @@ EXPORT_SYMBOL(__blk_rq_map_sg);
#ifdef CONFIG_BLK_DEV_INTEGRITY
/**
* blk_rq_integrity_dma_map_iter_start - map the first integrity DMA segment
* for a request
* for a request
* @req: request to map
* @dma_dev: device to map to
* @state: DMA IOVA state
Expand Down Expand Up @@ -358,10 +358,9 @@ EXPORT_SYMBOL_GPL(blk_rq_integrity_dma_map_iter_start);

/**
* blk_rq_integrity_dma_map_iter_next - map the next integrity DMA segment for
* a request
* a request
* @req: request to map
* @dma_dev: device to map to
* @state: DMA IOVA state
* @iter: block layer DMA iterator
*
* Iterate to the next integrity mapping after a previous call to
Expand Down