linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* sound/virtio/virtio_ctl_msg.c:70: warning: expecting prototype for virtsnd_ctl_msg_request(). Prototype was for virtsnd_ctl_msg_response() instead
@ 2021-06-18  5:35 kernel test robot
  2021-06-18 16:45 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: kernel test robot @ 2021-06-18  5:35 UTC (permalink / raw)
  To: Anton Yakovlev; +Cc: kbuild-all, linux-kernel, Takashi Iwai

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

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

* Re: sound/virtio/virtio_ctl_msg.c:70: warning: expecting prototype for virtsnd_ctl_msg_request(). Prototype was for virtsnd_ctl_msg_response() instead
  2021-06-18  5:35 sound/virtio/virtio_ctl_msg.c:70: warning: expecting prototype for virtsnd_ctl_msg_request(). Prototype was for virtsnd_ctl_msg_response() instead kernel test robot
@ 2021-06-18 16:45 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2021-06-18 16:45 UTC (permalink / raw)
  To: kernel test robot; +Cc: Anton Yakovlev, kbuild-all, linux-kernel

On Fri, 18 Jun 2021 07:35:28 +0200,
kernel test robot wrote:
> 
> 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

This has been already corrected on for-next branch for 5.14.


Takashi

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

end of thread, other threads:[~2021-06-18 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-18  5:35 sound/virtio/virtio_ctl_msg.c:70: warning: expecting prototype for virtsnd_ctl_msg_request(). Prototype was for virtsnd_ctl_msg_response() instead kernel test robot
2021-06-18 16:45 ` Takashi Iwai

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).