linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Johannes Berg <johannes.berg@intel.com>
Cc: kbuild-all@lists.01.org,
	Linux Memory Management List <linux-mm@kvack.org>,
	Richard Weinberger <richard@nod.at>
Subject: [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: Sat, 19 Jun 2021 10:01:44 +0800	[thread overview]
Message-ID: <202106191039.uiKqo2Su-lkp@intel.com> (raw)

[-- 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 --]

                 reply	other threads:[~2021-06-19  2:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202106191039.uiKqo2Su-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=johannes.berg@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-mm@kvack.org \
    --cc=richard@nod.at \
    /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;
as well as URLs for NNTP newsgroup(s).