tree:
git://git.infradead.org/users/hch/block.git block-bounce-cleanup
head: 6b1b8e36f63fe989298a53f04961018c1785f0b3
commit: 6b1b8e36f63fe989298a53f04961018c1785f0b3 [6/6] block: only build the block layer
bounce buffering if drivers need it
config: x86_64-randconfig-s022-20210311 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-262-g5e674421-dirty
git remote add hch-block
git://git.infradead.org/users/hch/block.git
git fetch --no-tags hch-block block-bounce-cleanup
git checkout 6b1b8e36f63fe989298a53f04961018c1785f0b3
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
ld: block/blk-mq.o: in function `blk_queue_bounce':
> block/blk.h:332: undefined reference to `__blk_queue_bounce'
vim +332 block/blk.h
6922ed82e514a6 Christoph Hellwig 2021-03-11 328
3bce016a4c5975 Christoph Hellwig 2017-06-19 329 static inline void
blk_queue_bounce(struct request_queue *q, struct bio **bio)
3bce016a4c5975 Christoph Hellwig 2017-06-19 330 {
6922ed82e514a6 Christoph Hellwig 2021-03-11 331 if (unlikely(blk_queue_may_bounce(q)
&& bio_has_data(*bio)))
6922ed82e514a6 Christoph Hellwig 2021-03-11 @332 __blk_queue_bounce(q, bio);
3bce016a4c5975 Christoph Hellwig 2017-06-19 333 }
3bce016a4c5975 Christoph Hellwig 2017-06-19 334
:::::: The code at line 332 was first introduced by commit
:::::: 6922ed82e514a69c601c501b5eca1eed2041a710 block: refactor the bounce buffering code
:::::: TO: Christoph Hellwig <hch(a)lst.de>
:::::: CC: Christoph Hellwig <hch(a)lst.de>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org