lkml.org 
[lkml]   [2021]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [axboe-block:for-5.16/block 189/189] block/fops.c:530:23: error: implicit declaration of function 'bdev_nr_bytes'
From
Date
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@intel.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

\
 
 \ /
  Last update: 2021-11-05 15:34    [W:0.039 / U:0.584 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site