kernel test robot
2021-Dec-13 18:46 UTC
[PATCH] virtio_mmio: pm: Add notification handlers for restore and freeze
Hi Mikhail, Thank you for the patch! Yet something to improve: [auto build test ERROR on linux/master] [also build test ERROR on linus/master v5.16-rc5] [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/Mikhail-Golubev/virtio_mmio-pm-Add-notification-handlers-for-restore-and-freeze/20211214-001636 base: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 136057256686de39cc3a07c2e39ef6bc43003ff6 config: m68k-randconfig-r033-20211213 (https://download.01.org/0day-ci/archive/20211214/202112140201.xeCfVzym-lkp at intel.com/config) compiler: m68k-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/86cd610f19003c4d848c13e5e00e38e9bc41f54e git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Mikhail-Golubev/virtio_mmio-pm-Add-notification-handlers-for-restore-and-freeze/20211214-001636 git checkout 86cd610f19003c4d848c13e5e00e38e9bc41f54e # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=m68k SHELL=/bin/bash drivers/virtio/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp at intel.com> All errors (new ones prefixed by >>): drivers/virtio/virtio_mmio.c: In function 'virtio_mmio_freeze':>> drivers/virtio/virtio_mmio.c:770:16: error: implicit declaration of function 'virtio_device_freeze'; did you mean 'virtio_device_ready'? [-Werror=implicit-function-declaration]770 | return virtio_device_freeze(&vm_dev->vdev); | ^~~~~~~~~~~~~~~~~~~~ | virtio_device_ready drivers/virtio/virtio_mmio.c: In function 'virtio_mmio_restore':>> drivers/virtio/virtio_mmio.c:778:16: error: implicit declaration of function 'virtio_device_restore'; did you mean 'virtio_mmio_restore'? [-Werror=implicit-function-declaration]778 | return virtio_device_restore(&vm_dev->vdev); | ^~~~~~~~~~~~~~~~~~~~~ | virtio_mmio_restore cc1: some warnings being treated as errors vim +770 drivers/virtio/virtio_mmio.c 764 765 static int __maybe_unused virtio_mmio_freeze(struct device *dev) 766 { 767 struct platform_device *pdev = to_platform_device(dev); 768 struct virtio_mmio_device *vm_dev = platform_get_drvdata(pdev); 769 > 770 return virtio_device_freeze(&vm_dev->vdev); 771 } 772 773 static int __maybe_unused virtio_mmio_restore(struct device *dev) 774 { 775 struct platform_device *pdev = to_platform_device(dev); 776 struct virtio_mmio_device *vm_dev = platform_get_drvdata(pdev); 777 > 778 return virtio_device_restore(&vm_dev->vdev); 779 } 780 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all at lists.01.org