linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Anton Yakovlev <anton.yakovlev@opensynergy.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
	Takashi Iwai <tiwai@suse.de>
Subject: sound/virtio/virtio_ctl_msg.c:70: warning: expecting prototype for virtsnd_ctl_msg_request(). Prototype was for virtsnd_ctl_msg_response() instead
Date: Fri, 18 Jun 2021 13:35:28 +0800	[thread overview]
Message-ID: <202106181323.L0cVnD8C-lkp@intel.com> (raw)

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   fd0aa1a4567d0f09e1bfe367a950b004f99ac290
commit: 9d45e514da88ff74fc24ffb34e7d6eb92576440b ALSA: virtio: handling control messages
date:   3 months ago
config: nios2-randconfig-r005-20210618 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.3.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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9d45e514da88ff74fc24ffb34e7d6eb92576440b
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 9d45e514da88ff74fc24ffb34e7d6eb92576440b
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=nios2 

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

All error/warnings (new ones prefixed by >>):

>> sound/virtio/virtio_ctl_msg.c:70: warning: expecting prototype for virtsnd_ctl_msg_request(). Prototype was for virtsnd_ctl_msg_response() instead
--
   nios2-linux-ld: drivers/net/ethernet/micrel/ks8851_common.o: in function `ks8851_probe_common':
>> ks8851_common.c:(.text+0x1734): undefined reference to `__this_module'
>> nios2-linux-ld: ks8851_common.c:(.text+0x1738): undefined reference to `__this_module'


vim +70 sound/virtio/virtio_ctl_msg.c

    62	
    63	/**
    64	 * virtsnd_ctl_msg_request() - Get a pointer to the response header.
    65	 * @msg: Control message.
    66	 *
    67	 * Context: Any context.
    68	 */
    69	void *virtsnd_ctl_msg_response(struct virtio_snd_msg *msg)
  > 70	{
    71		return sg_virt(&msg->sg_response);
    72	}
    73	

---
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: 34934 bytes --]

             reply	other threads:[~2021-06-18  5:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-06-18  5:35 kernel test robot [this message]
2021-06-18 16:45 ` sound/virtio/virtio_ctl_msg.c:70: warning: expecting prototype for virtsnd_ctl_msg_request(). Prototype was for virtsnd_ctl_msg_response() instead Takashi Iwai

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=202106181323.L0cVnD8C-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=anton.yakovlev@opensynergy.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tiwai@suse.de \
    /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).