linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Christoph Hellwig <hch@lst.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [hch-block:blkdev.h-includes 16/16] fs/btrfs/extent_io.c:245:6: error: implicit declaration of function 'bioset_integrity_create'
Date: Sun, 25 Jul 2021 20:01:21 +0800	[thread overview]
Message-ID: <202107252007.8ZsmxZ25-lkp@intel.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 3708 bytes --]

tree:   git://git.infradead.org/users/hch/block.git blkdev.h-includes
head:   db08f634bead64da6de80830782f3c339fc41b11
commit: db08f634bead64da6de80830782f3c339fc41b11 [16/16] block: move the integrity definitions from bio.h to blk-integrity.h
config: mips-randconfig-r006-20210725 (attached as .config)
compiler: mips64-linux-gcc (GCC) 10.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git remote add hch-block git://git.infradead.org/users/hch/block.git
        git fetch --no-tags hch-block blkdev.h-includes
        git checkout db08f634bead64da6de80830782f3c339fc41b11
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=mips 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   fs/btrfs/extent_io.c: In function 'extent_io_init':
>> fs/btrfs/extent_io.c:245:6: error: implicit declaration of function 'bioset_integrity_create' [-Werror=implicit-function-declaration]
     245 |  if (bioset_integrity_create(&btrfs_bioset, BIO_POOL_SIZE))
         |      ^~~~~~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors


vim +/bioset_integrity_create +245 fs/btrfs/extent_io.c

d1310b2e0cd98e Chris Mason     2008-01-24  231  
6f0d04f8e72e1c Josef Bacik     2019-09-23  232  int __init extent_io_init(void)
6f0d04f8e72e1c Josef Bacik     2019-09-23  233  {
837e197283199d David Sterba    2012-09-07  234  	extent_buffer_cache = kmem_cache_create("btrfs_extent_buffer",
d1310b2e0cd98e Chris Mason     2008-01-24  235  			sizeof(struct extent_buffer), 0,
fba4b697710eb2 Nikolay Borisov 2016-06-23  236  			SLAB_MEM_SPREAD, NULL);
d1310b2e0cd98e Chris Mason     2008-01-24  237  	if (!extent_buffer_cache)
6f0d04f8e72e1c Josef Bacik     2019-09-23  238  		return -ENOMEM;
9be3395bcd4ad4 Chris Mason     2013-05-17  239  
8ac9f7c1fd1d34 Kent Overstreet 2018-05-20  240  	if (bioset_init(&btrfs_bioset, BIO_POOL_SIZE,
011067b05668b0 NeilBrown       2017-06-18  241  			offsetof(struct btrfs_io_bio, bio),
8ac9f7c1fd1d34 Kent Overstreet 2018-05-20  242  			BIOSET_NEED_BVECS))
9be3395bcd4ad4 Chris Mason     2013-05-17  243  		goto free_buffer_cache;
b208c2f7ceafac Darrick J. Wong 2013-09-19  244  
8ac9f7c1fd1d34 Kent Overstreet 2018-05-20 @245  	if (bioset_integrity_create(&btrfs_bioset, BIO_POOL_SIZE))
b208c2f7ceafac Darrick J. Wong 2013-09-19  246  		goto free_bioset;
b208c2f7ceafac Darrick J. Wong 2013-09-19  247  
d1310b2e0cd98e Chris Mason     2008-01-24  248  	return 0;
d1310b2e0cd98e Chris Mason     2008-01-24  249  
b208c2f7ceafac Darrick J. Wong 2013-09-19  250  free_bioset:
8ac9f7c1fd1d34 Kent Overstreet 2018-05-20  251  	bioset_exit(&btrfs_bioset);
b208c2f7ceafac Darrick J. Wong 2013-09-19  252  
9be3395bcd4ad4 Chris Mason     2013-05-17  253  free_buffer_cache:
9be3395bcd4ad4 Chris Mason     2013-05-17  254  	kmem_cache_destroy(extent_buffer_cache);
9be3395bcd4ad4 Chris Mason     2013-05-17  255  	extent_buffer_cache = NULL;
6f0d04f8e72e1c Josef Bacik     2019-09-23  256  	return -ENOMEM;
6f0d04f8e72e1c Josef Bacik     2019-09-23  257  }
9be3395bcd4ad4 Chris Mason     2013-05-17  258  

:::::: The code at line 245 was first introduced by commit
:::::: 8ac9f7c1fd1d342e82ddf078425423b050652ba0 btrfs: convert to bioset_init()/mempool_init()

:::::: TO: Kent Overstreet <kent.overstreet@gmail.com>
:::::: CC: Jens Axboe <axboe@kernel.dk>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 36881 bytes --]

                 reply	other threads:[~2021-07-25 12:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202107252007.8ZsmxZ25-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=hch@lst.de \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).