All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fengguang Wu <fengguang.wu@intel.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: kvm@vger.kernel.org
Subject: [kvm:queue 23/25] arch/s390/kvm/kvm-s390.c:358:6: error: conflicting types for 'kvm_arch_vcpu_postcreate'
Date: Tue, 27 Nov 2012 10:56:50 +0800	[thread overview]
Message-ID: <20121127025650.GB17761@localhost> (raw)
In-Reply-To: <50b42871.a9vRrlKxKgXLCioQ%yuanhan.liu@linux.intel.com>


Hi Marcelo,

FYI, kernel build failed on

tree:   git://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
head:   fc1ddea318fa2c1ac3d496d8653ca4bc9b66e679
commit: 438d76a60e7be59a558f8712a47565fa8258d17d [23/25] KVM: x86: add kvm_arch_vcpu_postcreate callback, move TSC initialization
config: make ARCH=s390 allmodconfig

All error/warnings:

arch/s390/kvm/kvm-s390.c:358:6: error: conflicting types for 'kvm_arch_vcpu_postcreate'
In file included from arch/s390/kvm/kvm-s390.c:22:0:
include/linux/kvm_host.h:599:5: note: previous declaration of 'kvm_arch_vcpu_postcreate' was here
arch/s390/kvm/kvm-s390.c: In function 'kvm_arch_vcpu_postcreate':
arch/s390/kvm/kvm-s390.c:360:2: warning: 'return' with a value, in function returning void [enabled by default]

vim +358 +/kvm_arch_vcpu_postcreate arch/s390/kvm/kvm-s390.c

b0c632db Heiko Carstens        2008-03-25  352  	vcpu->arch.guest_fpregs.fpc = 0;
b0c632db Heiko Carstens        2008-03-25  353  	asm volatile("lfpc %0" : : "Q" (vcpu->arch.guest_fpregs.fpc));
b0c632db Heiko Carstens        2008-03-25  354  	vcpu->arch.sie_block->gbea = 1;
61bde82c Christian Borntraeger 2012-06-11  355  	atomic_set_mask(CPUSTAT_STOPPED, &vcpu->arch.sie_block->cpuflags);
b0c632db Heiko Carstens        2008-03-25  356  }
b0c632db Heiko Carstens        2008-03-25  357  
438d76a6 Marcelo Tosatti       2012-11-19 @358  void kvm_arch_vcpu_postcreate(struct kvm_vcpu *vcpu)
438d76a6 Marcelo Tosatti       2012-11-19  359  {
438d76a6 Marcelo Tosatti       2012-11-19 @360  	return 0;
438d76a6 Marcelo Tosatti       2012-11-19  361  }
438d76a6 Marcelo Tosatti       2012-11-19  362  
b0c632db Heiko Carstens        2008-03-25  363  int kvm_arch_vcpu_setup(struct kvm_vcpu *vcpu)

---
0-DAY kernel build testing backend         Open Source Technology Center
Fengguang Wu, Yuanhan Liu                              Intel Corporation

       reply	other threads:[~2012-11-27  2:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <50b42871.a9vRrlKxKgXLCioQ%yuanhan.liu@linux.intel.com>
2012-11-27  2:56 ` Fengguang Wu [this message]
2012-11-28  1:51   ` [kvm:queue 23/25] arch/s390/kvm/kvm-s390.c:358:6: error: conflicting types for 'kvm_arch_vcpu_postcreate' Marcelo Tosatti
2012-11-28  9:11     ` Fengguang Wu

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=20121127025650.GB17761@localhost \
    --to=fengguang.wu@intel.com \
    --cc=kvm@vger.kernel.org \
    --cc=mtosatti@redhat.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.