Skip to content

blk-mq-dma: kernel-doc fixes - #1146

Open
blktests-ci[bot] wants to merge 2 commits into
linus-master_basefrom
series/1146755=>linus-master
Open

blk-mq-dma: kernel-doc fixes#1146
blktests-ci[bot] wants to merge 2 commits into
linus-master_basefrom
series/1146755=>linus-master

Conversation

@blktests-ci

@blktests-ci blktests-ci Bot commented Aug 16, 2026

Copy link
Copy Markdown

Pull request for series with
subject: blk-mq-dma: kernel-doc fixes
version: 1
url: https://patchwork.kernel.org/project/linux-block/list/?series=1146755

@blktests-ci

blktests-ci Bot commented Aug 16, 2026

Copy link
Copy Markdown
Author

Upstream branch: 3aa1dca
series: https://patchwork.kernel.org/project/linux-block/list/?series=1146755
version: 1

@blktests-ci
blktests-ci Bot force-pushed the linus-master_base branch 2 times, most recently from d89ab11 to fdba928 Compare August 16, 2026 18:34
@blktests-ci

blktests-ci Bot commented Aug 16, 2026

Copy link
Copy Markdown
Author

Upstream branch: fd923b3
series: https://patchwork.kernel.org/project/linux-block/list/?series=1146755
version: 1

@blktests-ci
blktests-ci Bot force-pushed the series/1146755=>linus-master branch from 3074e68 to 5d30e7c Compare August 16, 2026 19:33
@blktests-ci

blktests-ci Bot commented Aug 17, 2026

Copy link
Copy Markdown
Author

Upstream branch: fd923b3
series: https://patchwork.kernel.org/project/linux-block/list/?series=1146755
version: 1

@blktests-ci
blktests-ci Bot force-pushed the series/1146755=>linus-master branch from 5d30e7c to 0b0220c Compare August 17, 2026 07:53
@blktests-ci
blktests-ci Bot force-pushed the linus-master_base branch from fdba928 to 60442a3 Compare August 17, 2026 14:10
@blktests-ci

blktests-ci Bot commented Aug 17, 2026

Copy link
Copy Markdown
Author

Upstream branch: 8d3ae59
series: https://patchwork.kernel.org/project/linux-block/list/?series=1146755
version: 1

@blktests-ci
blktests-ci Bot force-pushed the series/1146755=>linus-master branch from 0b0220c to 262ec73 Compare August 17, 2026 14:19
@blktests-ci
blktests-ci Bot force-pushed the linus-master_base branch from 60442a3 to 3df366e Compare August 19, 2026 05:25
blk_rq_integrity_dma_map_iter_next() documents a @State parameter it
has never had.  It takes (req, dma_dev, iter), as declared in
include/linux/blk-integrity.h, so scripts/kernel-doc reports an "Excess
function parameter 'state' description" warning at
block/blk-mq-dma.c:379.

The wrapped summary lines of both integrity helpers also indent with
tabs directly after "* ", which checkpatch flags as:

  block/blk-mq-dma.c:320: WARNING: please, no space before tabs
  block/blk-mq-dma.c:361: WARNING: please, no space before tabs

Drop the stale parameter description and use spaces for the alignment;
the rendered output is unchanged.  No functional change.

Both issues were found by running scripts/kernel-doc and
scripts/checkpatch.pl over block/, and verified against the prototype
in include/linux/blk-integrity.h.

Fixes: fec9b16 ("blk-mq-dma: add scatter-less integrity data DMA mapping")
Assisted-by: Claude:claude-opus-5 kernel-doc checkpatch
Signed-off-by: Bryan Boquel <boquelbryan6@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
blk_rq_dma_map_iter_start() and blk_rq_dma_map_iter_next() both
document their return value as "%true ft it did map a segment", where
"ft" should read "if".  The two integrity variants further down spell
it correctly.

No functional change.

Fixes: 858299d ("block: add scatterlist-less DMA mapping helpers")
Assisted-by: Claude:claude-opus-5
Signed-off-by: Bryan Boquel <boquelbryan6@gmail.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
@blktests-ci

blktests-ci Bot commented Aug 19, 2026

Copy link
Copy Markdown
Author

Upstream branch: bd5f485
series: https://patchwork.kernel.org/project/linux-block/list/?series=1146755
version: 1

@blktests-ci
blktests-ci Bot force-pushed the series/1146755=>linus-master branch from 262ec73 to 4b9412a Compare August 19, 2026 05:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant