From: kbuild test robot <fengguang.wu@intel.com>
To: Marcelo Tosatti <mtosatti@redhat.com>
Cc: kbuild-all@01.org, kvm@vger.kernel.org,
Robert Hu <robert.hu@intel.com>,
Paolo Bonzini <pbonzini@redhat.com>
Subject: [kvm:queue 8/8] drivers/ptp/ptp_kvm.c:88:35: error: incompatible type for argument 1 of 'timespec_to_ktime'
Date: Sat, 28 Jan 2017 01:37:15 +0800 [thread overview]
Message-ID: <201701280111.JR9NBsFv%fengguang.wu@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1767 bytes --]
tree: https://git.kernel.org/pub/scm/virt/kvm/kvm.git queue
head: 6cd1eaf959a3c27612d13173f0530f4ab6a2ad11
commit: 6cd1eaf959a3c27612d13173f0530f4ab6a2ad11 [8/8] PTP: add kvm PTP driver
config: i386-randconfig-h0-01280042 (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
git checkout 6cd1eaf959a3c27612d13173f0530f4ab6a2ad11
# save the attached .config to linux build tree
make ARCH=i386
All errors (new ones prefixed by >>):
drivers/ptp/ptp_kvm.c: In function 'ptp_kvm_get_time_fn':
>> drivers/ptp/ptp_kvm.c:88:35: error: incompatible type for argument 1 of 'timespec_to_ktime'
*device_time = timespec_to_ktime(tspec);
^~~~~
In file included from include/linux/rcupdate.h:47:0,
from include/linux/idr.h:18,
from include/linux/kernfs.h:14,
from include/linux/sysfs.h:15,
from include/linux/kobject.h:21,
from include/linux/device.h:17,
from drivers/ptp/ptp_kvm.c:17:
include/linux/ktime.h:70:23: note: expected 'struct timespec' but argument is of type 'struct timespec64'
static inline ktime_t timespec_to_ktime(struct timespec ts)
^~~~~~~~~~~~~~~~~
vim +/timespec_to_ktime +88 drivers/ptp/ptp_kvm.c
82
83 preempt_enable_notrace();
84
85 system_counter->cycles = ret;
86 system_counter->cs = &kvm_clock;
87
> 88 *device_time = timespec_to_ktime(tspec);
89
90 spin_unlock(&kvm_ptp_lock);
91
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 23055 bytes --]
next reply other threads:[~2017-01-27 17:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-27 17:37 kbuild test robot [this message]
2017-01-30 16:53 ` [kvm:queue 8/8] drivers/ptp/ptp_kvm.c:88:35: error: incompatible type for argument 1 of 'timespec_to_ktime' Radim Krčmář
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=201701280111.JR9NBsFv%fengguang.wu@intel.com \
--to=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=kvm@vger.kernel.org \
--cc=mtosatti@redhat.com \
--cc=pbonzini@redhat.com \
--cc=robert.hu@intel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox