All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-next:master 10920/11253] arch/um/drivers/virtio_uml.c:1102:6: warning: no previous prototype for 'virtio_uml_set_no_vq_suspend'
@ 2021-06-19  2:01 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-06-19  2:01 UTC (permalink / raw)
  To: Johannes Berg
  Cc: kbuild-all, Linux Memory Management List, Richard Weinberger

[-- Attachment #1: Type: text/plain, Size: 1802 bytes --]

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@intel.com>

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@lists.01.org

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 62230 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [linux-next:master 10920/11253] arch/um/drivers/virtio_uml.c:1102:6: warning: no previous prototype for 'virtio_uml_set_no_vq_suspend'
@ 2021-06-19  2:01 ` kernel test robot
  0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2021-06-19  2:01 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 1847 bytes --]

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@intel.com>

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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 62230 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-06-19  2:02 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-19  2:01 [linux-next:master 10920/11253] arch/um/drivers/virtio_uml.c:1102:6: warning: no previous prototype for 'virtio_uml_set_no_vq_suspend' kernel test robot
2021-06-19  2:01 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.