Skip to contentSkip to conversation

block: fix indention for dma-buf checks

PATCH Applied Pavel Begunkov 3 participants 5 messages Oct 16 Block layer

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 block: fix indention for dma-buf checks

There is a weird indention I botched while rebasing, fix it.

---
 block/blk-mq.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
block/blk-mq.c +1 -1
index 1b7f8cbbda8b..726de869a86f 100644
@@ -3151,7 +3151,7 @@ void blk_mq_submit_bio(struct bio *bio)
 	}
 
 	if (unlikely(op_is_dmabuf(bio->bi_opf) &&
-		bdev_has_integrity_csum(bio->bi_bdev))) {
+		     bdev_has_integrity_csum(bio->bi_bdev))) {
 		bio_endio_status(bio, BLK_STS_NOTSUPP);
 		goto queue_exit;
 	}
Signature · 1 line
2.54.0
#1 lore raw
Quoted 3 lines · Pavel Begunkov

There is a weird indention I botched while rebasing, fix it.

Can be squashed into the following commit, if that's preferred.

commit d88e44f43e939e6ac0ca8302c6f3c957b33aa5fe

Author: Pavel Begunkov <[email protected]>
Date:   Wed Oct 14 12:02:02 2026 +0100

block: introduce dma map backed bio type

Quoted 17 lines
---
  block/blk-mq.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
block/blk-mq.c +1 -1
index 1b7f8cbbda8b..726de869a86f 100644
@@ -3151,7 +3151,7 @@ void blk_mq_submit_bio(struct bio *bio)
  	}
 
  	if (unlikely(op_is_dmabuf(bio->bi_opf) &&
-		bdev_has_integrity_csum(bio->bi_bdev))) {
+		     bdev_has_integrity_csum(bio->bi_bdev))) {
  		bio_endio_status(bio, BLK_STS_NOTSUPP);
  		goto queue_exit;
  	}
Signature · 1 line
Pavel Begunkov
#2 lore raw
Quoted 6 lines · Pavel Begunkov
Quoted 3 lines · Pavel Begunkov

There is a weird indention I botched while rebasing, fix it.

Can be squashed into the following commit, if that's preferred.

Either way looks fine, but I guess Jens doesn't really want to rebase this late in the cycle..

#3 lore raw
Quoted 10 lines · Christoph Hellwig
Quoted 6 lines · Pavel Begunkov
Quoted 3 lines · Pavel Begunkov

There is a weird indention I botched while rebasing, fix it.

Can be squashed into the following commit, if that's preferred.

Either way looks fine, but I guess Jens doesn't really want to rebase this late in the cycle..

Yeah. Mentioned only because it felt odd sending it as a standalone patch.

Signature · 1 line
Pavel Begunkov
maintainer Applied
#4 lore raw
In reply to Pavel Begunkov
Quoted 1 line · Pavel Begunkov

There is a weird indention I botched while rebasing, fix it.

Applied, thanks!

[1/1] block: fix indention for dma-buf checks

      commit: 20d808694e40d81d3627f99b90b08e51087d0f35

Best regards,

Signature · 1 line
Jens Axboe