mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] block: clean up indentation in blk_rq_map_iter_init()
@ 2025-11-08  4:06 Caleb Sander Mateos
  2025-11-08 13:40 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Caleb Sander Mateos @ 2025-11-08  4:06 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Caleb Sander Mateos, linux-block, linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] block: clean up indentation in blk_rq_map_iter_init()
  2025-11-08  4:06 [PATCH] block: clean up indentation in blk_rq_map_iter_init() Caleb Sander Mateos
@ 2025-11-08 13:40 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2025-11-08 13:40 UTC (permalink / raw)
  To: Caleb Sander Mateos; +Cc: linux-block, linux-kernel


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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-11-08 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-08  4:06 [PATCH] block: clean up indentation in blk_rq_map_iter_init() Caleb Sander Mateos
2025-11-08 13:40 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®