[linux-next:master 10920/11253] arch/um/drivers/virtio_uml.c:1102:6: warning: no previous prototype for 'virtio_uml_set_no_vq_suspend'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head:   e71e3a48a7e89fa71fb70bf4602367528864d2ff
commit: 43c590cb86665be702c0af0231a10ec813df9cfd [10920/11253] um: virtio/pci: enable suspend/resume
config: um-allmodconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/commit/?id=43c590cb86665be702c0af0231a10ec813df9cfd
        git remote add linux-next https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
        git fetch --no-tags linux-next master
        git checkout 43c590cb86665be702c0af0231a10ec813df9cfd
        # save the attached .config to linux build tree
        make W=1 ARCH=um 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>

All warnings (new ones prefixed by >>):

>> arch/um/drivers/virtio_uml.c:1102:6: warning: no previous prototype for 'virtio_uml_set_no_vq_suspend' [-Wmissing-prototypes]
    1102 | void virtio_uml_set_no_vq_suspend(struct virtio_device *vdev,
         |      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~


vim +/virtio_uml_set_no_vq_suspend +1102 arch/um/drivers/virtio_uml.c

  1101	
> 1102	void virtio_uml_set_no_vq_suspend(struct virtio_device *vdev,
  1103					  bool no_vq_suspend)
  1104	{
  1105		struct virtio_uml_device *vu_dev = to_virtio_uml_device(vdev);
  1106	
  1107		if (WARN_ON(vdev->config != &virtio_uml_config_ops))
  1108			return;
  1109	
  1110		vu_dev->no_vq_suspend = no_vq_suspend;
  1111		dev_info(&vdev->dev, "%sabled VQ suspend\n",
  1112			 no_vq_suspend ? "dis" : "en");
  1113	}
  1114	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux