Hi "Michael,
[FYI, it's a private test report for your RFC patch.]
[auto build test ERROR on axboe-block/for-next]
[also build test ERROR on linus/master v5.15-rc5 next-20211013]
[cannot apply to char-misc/char-misc-testing linux/master rw-uml/linux-next
bluetooth-next/master herbert-cryptodev-2.6/master herbert-crypto-2.6/master
bluetooth/master linusw-gpio/for-next]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Michael-S-Tsirkin/virtio-wrap-co...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next
config: powerpc-allyesconfig (attached as .config)
compiler: powerpc-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://github.com/0day-ci/linux/commit/161cce1f8fc4812f5ce58f9c9a6815bd9...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Michael-S-Tsirkin/virtio-wrap-config-reset-calls/20211013-185724
git checkout 161cce1f8fc4812f5ce58f9c9a6815bd95594259
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir
ARCH=powerpc SHELL=/bin/bash drivers/
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 >>):
> drivers/virtio/virtio.c:207:13: error: static declaration of
'virtio_reset_device' follows non-static declaration
207 | static void
virtio_reset_device(struct virtio_device *dev)
| ^~~~~~~~~~~~~~~~~~~
In file included from drivers/virtio/virtio.c:2:
include/linux/virtio.h:141:6: note: previous declaration of
'virtio_reset_device' with type 'void(struct virtio_device *)'
141 | void virtio_reset_device(struct virtio_device *dev);
| ^~~~~~~~~~~~~~~~~~~
> drivers/virtio/virtio.c:207:13: error:
'virtio_reset_device' defined but not used [-Werror=unused-function]
207 | static void virtio_reset_device(struct virtio_device *dev)
| ^~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/virtio_reset_device +207 drivers/virtio/virtio.c
206
207 static void virtio_reset_device(struct virtio_device *dev)
208 {
209 dev->config->reset(dev);
210 }
211
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org