Skip to contentSkip to conversation

linux-next: build warning after merge of the block tree

DISCUSSION Stephen Rothwell 2 participants 4 messages Aug 13, 2021 – Sep 3, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the block tree, today's linux-next build (htmldocs) produced this warning:

block/bio.c:1689: warning: Function parameter or member 'nr_vecs' not described in 'bio_alloc_kiocb'

Introduced by commit

1cbbd31c4ada ("bio: add allocation cache abstraction")

Signature · 2 lines
Cheers,
Stephen Rothwell
maintainer
#1 lore raw
Quoted 10 lines · Stephen Rothwell

Hi all,

After merging the block tree, today's linux-next build (htmldocs) produced this warning:

block/bio.c:1689: warning: Function parameter or member 'nr_vecs' not described in 'bio_alloc_kiocb'

Introduced by commit

1cbbd31c4ada ("bio: add allocation cache abstraction")

Thanks, fixed up.

Signature · 1 line
Jens Axboe
#2 lore raw

Hi Jens,

Quoted 7 lines · On Fri, 13 Aug 2021 07:54:51 -0600 Jens Axboe <[email protected]> wrote:
Quoted 5 lines · Stephen Rothwell

Hi all,

After merging the block tree, today's linux-next build (htmldocs) produced this warning:

Quoted 7 lines
Quoted 5 lines

block/bio.c:1689: warning: Function parameter or member 'nr_vecs' not described in 'bio_alloc_kiocb'

Introduced by commit

1cbbd31c4ada ("bio: add allocation cache abstraction")

Thanks, fixed up.

Not really :-( I am now also getting this (the above has moved to line 1704 as well):

block/bio.c:1704: warning: Excess function parameter 'nr_iovecs' description in 'bio_alloc_kiocb'

Signature · 2 lines
Cheers,
Stephen Rothwell
maintainer
#3 lore raw
Quoted 14 lines · Stephen Rothwell

Hi Jens,

Quoted 11 lines · On Fri, 13 Aug 2021 07:54:51 -0600 Jens Axboe <[email protected]> wrote:
Quoted 9 lines · Stephen Rothwell

Hi all,

After merging the block tree, today's linux-next build (htmldocs) produced this warning:

block/bio.c:1689: warning: Function parameter or member 'nr_vecs' not described in 'bio_alloc_kiocb'

Introduced by commit

Quoted 8 lines
Quoted 3 lines
Quoted 1 line

1cbbd31c4ada ("bio: add allocation cache abstraction")

Thanks, fixed up.

Not really :-( I am now also getting this (the above has moved to line 1704 as well):

block/bio.c:1704: warning: Excess function parameter 'nr_iovecs' description in 'bio_alloc_kiocb'

This should fix that one up:

block/bio.c +1 -1
index e16849f46b0e..5df3dd282e40 100644
@@ -1688,7 +1688,7 @@ EXPORT_SYMBOL(bioset_init_from_src);
 /**
  * bio_alloc_kiocb - Allocate a bio from bio_set based on kiocb
  * @kiocb:	kiocb describing the IO
- * @nr_iovecs:	number of iovecs to pre-allocate
+ * @nr_vecs:	number of iovecs to pre-allocate
  * @bs:		bio_set to allocate from
  *
  * Description:
Signature · 1 line
Jens Axboe