[kvm:queue 38/38] drivers/ptp/ptp_kvm.c:190:17: error: expected ';' before ':' token

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
head:   5393882d24daf06da2921689c9142542d231fc0b
commit: 5393882d24daf06da2921689c9142542d231fc0b [38/38] ptp_kvm: try to detect hypercall availability
config: x86_64-kexec (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
        git checkout 5393882d24daf06da2921689c9142542d231fc0b
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All errors (new ones prefixed by >>):

   drivers/ptp/ptp_kvm.c: In function 'ptp_kvm_init':
>> drivers/ptp/ptp_kvm.c:190:17: error: expected ';' before ':' token
      return -ENODEV:
                    ^
   At top level:
   drivers/ptp/ptp_kvm.c:153:30: warning: 'ptp_kvm_caps' defined but not used [-Wunused-variable]
    static struct ptp_clock_info ptp_kvm_caps = {
                                 ^~~~~~~~~~~~

vim +190 drivers/ptp/ptp_kvm.c

   184		if (!hv_clock)
   185			return -ENODEV;
   186	
   187		ret = kvm_hypercall2(KVM_HC_CLOCK_PAIRING, clock_pair_gpa,
   188				KVM_CLOCK_PAIRING_WALLCLOCK);
   189		if (ret == -KVM_ENOSYS || ret == -KVM_EOPNOTSUPP)
 > 190			return -ENODEV:
   191	
   192		kvm_ptp_clock.caps = ptp_kvm_caps;
   193	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux