[PATCH] block: clean up indentation in blk_rq_map_iter_init()

Caleb Sander Mateos posted 1 patch 1 month, 1 week ago
block/blk-mq-dma.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] block: clean up indentation in blk_rq_map_iter_init()
Posted by Caleb Sander Mateos 1 month, 1 week ago
blk_rq_map_iter_init() has one line with 7 spaces of indentation and
another that mixes 1 tab and 8 spaces. Convert both to tabs.

Signed-off-by: Caleb Sander Mateos <csander@purestorage.com>
---
 block/blk-mq-dma.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/block/blk-mq-dma.c b/block/blk-mq-dma.c
index 94d3461b5bc8..a7ef25843280 100644
--- a/block/blk-mq-dma.c
+++ b/block/blk-mq-dma.c
@@ -140,19 +140,19 @@ static inline void blk_rq_map_iter_init(struct request *rq,
 			.bvecs = &rq->special_vec,
 			.iter = {
 				.bi_size = rq->special_vec.bv_len,
 			}
 		};
-       } else if (bio) {
+	} else if (bio) {
 		*iter = (struct blk_map_iter) {
 			.bio = bio,
 			.bvecs = bio->bi_io_vec,
 			.iter = bio->bi_iter,
 		};
 	} else {
 		/* the internal flush request may not have bio attached */
-	        *iter = (struct blk_map_iter) {};
+		*iter = (struct blk_map_iter) {};
 	}
 }
 
 static bool blk_dma_map_iter_start(struct request *req, struct device *dma_dev,
 		struct dma_iova_state *state, struct blk_dma_iter *iter,
-- 
2.45.2
Re: [PATCH] block: clean up indentation in blk_rq_map_iter_init()
Posted by Jens Axboe 1 month, 1 week ago
On Fri, 07 Nov 2025 21:06:13 -0700, Caleb Sander Mateos wrote:
> blk_rq_map_iter_init() has one line with 7 spaces of indentation and
> another that mixes 1 tab and 8 spaces. Convert both to tabs.
> 
> 

Applied, thanks!

[1/1] block: clean up indentation in blk_rq_map_iter_init()
      commit: 4cda40dce95a5b4ec0620a84f322472730d01f7a

Best regards,
-- 
Jens Axboe