[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f4d42597-3fd3-fa85-af49-ba8b9bbd436f@kernel.dk>
Date: Fri, 5 Nov 2021 08:33:08 -0600
From: Jens Axboe <axboe@...nel.dk>
To: kernel test robot <lkp@...el.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
Christoph Hellwig <hch@....de>
Subject: Re: [axboe-block:for-5.16/block 189/189] block/fops.c:530:23: error:
implicit declaration of function 'bdev_nr_bytes'
On 11/5/21 8:01 AM, kernel test robot wrote:
> tree: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-5.16/block
> head: d4e76b1ad0065477119b544fd93c2f03550ef548
> commit: d4e76b1ad0065477119b544fd93c2f03550ef548 [189/189] block: use new bdev_nr_bytes() helper for blkdev_{read,write}_iter()
> config: ia64-defconfig (attached as .config)
> compiler: ia64-linux-gcc (GCC) 11.2.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
> # https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?id=d4e76b1ad0065477119b544fd93c2f03550ef548
> git remote add axboe-block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
> git fetch --no-tags axboe-block for-5.16/block
> git checkout d4e76b1ad0065477119b544fd93c2f03550ef548
> # save the attached .config to linux build tree
> COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=ia64
>
> If you fix the issue, kindly add following tag as appropriate
> Reported-by: kernel test robot <lkp@...el.com>
>
> All errors (new ones prefixed by >>):
>
> block/fops.c: In function 'blkdev_write_iter':
>>> block/fops.c:530:23: error: implicit declaration of function 'bdev_nr_bytes' [-Werror=implicit-function-declaration]
> 530 | loff_t size = bdev_nr_bytes(bdev);
> | ^~~~~~~~~~~~~
> cc1: some warnings being treated as errors
Doh, applied it to the wrong branch. Moved it now, should be fine in the
current state.
--
Jens Axboe
Powered by blists - more mailing lists