[gvt-linux:gvt-stable-4.11 22/35] include/xen/arm/interface.h:21:35: error: unknown type name '__guest_handle_ulong'
kbuild test robot
fengguang.wu at intel.com
Mon May 8 11:22:08 UTC 2017
tree: https://github.com/01org/gvt-linux.git gvt-stable-4.11
head: 23bb963466d68de87b91375cd52e338391b48d13
commit: f772deeea56c2443056e2e7363b95732130876a0 [22/35] arch/x86/xen: add infrastruction in xen to support gvt
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git checkout f772deeea56c2443056e2e7363b95732130876a0
# save the attached .config to linux build tree
make.cross ARCH=arm64
All errors (new ones prefixed by >>):
In file included from arch/arm64/include/asm/xen/interface.h:1:0,
from include/xen/interface/xen.h:30,
from include/xen/xen.h:23,
from arch/arm64/include/asm/io.h:34,
from include/linux/scatterlist.h:8,
from include/linux/dmaengine.h:24,
from include/linux/netdevice.h:38,
from drivers/net/xen-netfront.c:36:
>> include/xen/arm/interface.h:21:35: error: unknown type name '__guest_handle_ulong'
#define GUEST_HANDLE(name) __guest_handle_ ## name
^
include/xen/interface/memory.h:260:5: note: in expansion of macro 'GUEST_HANDLE'
GUEST_HANDLE(ulong) pfn_list;
^~~~~~~~~~~~
vim +/__guest_handle_ulong +21 include/xen/arm/interface.h
2fbadc30 Marc Zyngier 2016-12-02 15 typedef struct { union { type *p; uint64_aligned_t q; }; } \
2fbadc30 Marc Zyngier 2016-12-02 16 __guest_handle_ ## name
2fbadc30 Marc Zyngier 2016-12-02 17
2fbadc30 Marc Zyngier 2016-12-02 18 #define DEFINE_GUEST_HANDLE_STRUCT(name) \
2fbadc30 Marc Zyngier 2016-12-02 19 __DEFINE_GUEST_HANDLE(name, struct name)
2fbadc30 Marc Zyngier 2016-12-02 20 #define DEFINE_GUEST_HANDLE(name) __DEFINE_GUEST_HANDLE(name, name)
2fbadc30 Marc Zyngier 2016-12-02 @21 #define GUEST_HANDLE(name) __guest_handle_ ## name
2fbadc30 Marc Zyngier 2016-12-02 22
2fbadc30 Marc Zyngier 2016-12-02 23 #define set_xen_guest_handle(hnd, val) \
2fbadc30 Marc Zyngier 2016-12-02 24 do { \
:::::: The code at line 21 was first introduced by commit
:::::: 2fbadc3002c5f172d20aa2e7e48920c5f14ed11f arm/arm64: xen: Move shared architecture headers to include/xen/arm
:::::: TO: Marc Zyngier <marc.zyngier at arm.com>
:::::: CC: Stefano Stabellini <sstabellini at kernel.org>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 34526 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gvt-dev/attachments/20170508/0334a5d2/attachment-0001.gz>
More information about the intel-gvt-dev
mailing list