From: Jens Axboe <axboe@kernel.dk>
To: kernel test robot <lkp@intel.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Christoph Hellwig <hch@lst.de>
Subject: Re: [axboe-block:for-5.16/block 189/189] block/fops.c:530:23: error: implicit declaration of function 'bdev_nr_bytes'
Date: Fri, 5 Nov 2021 08:33:08 -0600 [thread overview]
Message-ID: <f4d42597-3fd3-fa85-af49-ba8b9bbd436f@kernel.dk> (raw)
In-Reply-To: <202111052254.V6mctXgK-lkp@intel.com>
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
prev parent reply other threads:[~2021-11-05 14:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-05 14:01 [axboe-block:for-5.16/block 189/189] block/fops.c:530:23: error: implicit declaration of function 'bdev_nr_bytes' kernel test robot
2021-11-05 14:33 ` Jens Axboe [this message]
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=f4d42597-3fd3-fa85-af49-ba8b9bbd436f@kernel.dk \
--to=axboe@kernel.dk \
--cc=hch@lst.de \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lkp@intel.com \
/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