All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Yi Wang <foxywang@tencent.com>
Cc: oe-kbuild-all@lists.linux.dev, Sean Christopherson <seanjc@google.com>
Subject: [kvm-x86:generic 7/9] include/linux/kvm_host.h:2106:5: warning: no previous prototype for 'kvm_init_irq_routing'
Date: Tue, 11 Jun 2024 10:04:19 +0800	[thread overview]
Message-ID: <202406111054.tfC7sg5g-lkp@intel.com> (raw)

tree:   https://github.com/kvm-x86/linux generic
head:   96545c0ccf1cdcbeeaca77399af27da12da6c833
commit: 2207798ccd0adc8995a71f93fd77c8ece3eb330a [7/9] KVM: Setup empty IRQ routing when creating a VM
config: powerpc-allnoconfig (https://download.01.org/0day-ci/archive/20240611/202406111054.tfC7sg5g-lkp@intel.com/config)
compiler: powerpc-linux-gcc (GCC) 13.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240611/202406111054.tfC7sg5g-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202406111054.tfC7sg5g-lkp@intel.com/

All warnings (new ones prefixed by >>):

   In file included from arch/powerpc/include/asm/kvm_ppc.h:19,
                    from arch/powerpc/include/asm/dbell.h:17,
                    from arch/powerpc/kernel/asm-offsets.c:36:
>> include/linux/kvm_host.h:2106:5: warning: no previous prototype for 'kvm_init_irq_routing' [-Wmissing-prototypes]
    2106 | int kvm_init_irq_routing(struct kvm *kvm) {}
         |     ^~~~~~~~~~~~~~~~~~~~
   include/linux/kvm_host.h: In function 'kvm_init_irq_routing':
>> include/linux/kvm_host.h:2106:44: warning: control reaches end of non-void function [-Wreturn-type]
    2106 | int kvm_init_irq_routing(struct kvm *kvm) {}
         |                                            ^
--
   In file included from arch/powerpc/include/asm/kvm_ppc.h:19,
                    from arch/powerpc/include/asm/dbell.h:17,
                    from arch/powerpc/kernel/asm-offsets.c:36:
>> include/linux/kvm_host.h:2106:5: warning: no previous prototype for 'kvm_init_irq_routing' [-Wmissing-prototypes]
    2106 | int kvm_init_irq_routing(struct kvm *kvm) {}
         |     ^~~~~~~~~~~~~~~~~~~~
   include/linux/kvm_host.h: In function 'kvm_init_irq_routing':
>> include/linux/kvm_host.h:2106:44: warning: control reaches end of non-void function [-Wreturn-type]
    2106 | int kvm_init_irq_routing(struct kvm *kvm) {}
         |                                            ^


vim +/kvm_init_irq_routing +2106 include/linux/kvm_host.h

  2104	
  2105	static inline void kvm_free_irq_routing(struct kvm *kvm) {}
> 2106	int kvm_init_irq_routing(struct kvm *kvm) {}
  2107	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

             reply	other threads:[~2024-06-11  2:04 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-11  2:04 kernel test robot [this message]
2024-06-11 13:29 ` [kvm-x86:generic 7/9] include/linux/kvm_host.h:2106:5: warning: no previous prototype for 'kvm_init_irq_routing' Sean Christopherson

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=202406111054.tfC7sg5g-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=foxywang@tencent.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=seanjc@google.com \
    /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 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.