Re: [PATCH v2 2/3] xen/privcmd: Add IOCTL_PRIVCMD_DM_OP

From: kbuild test robot
Date: Fri Feb 10 2017 - 14:29:52 EST

Hi Paul,

[auto build test ERROR on xen-tip/linux-next]
[also build test ERROR on v4.10-rc7 next-20170210]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

base: linux-next
config: arm64-defconfig (attached as .config)
compiler: aarch64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
wget -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=arm64

All errors (new ones prefixed by >>):

drivers/xen/privcmd.c: In function 'privcmd_ioctl_dm_op':
>> drivers/xen/privcmd.c:673:7: error: implicit declaration of function 'HYPERVISOR_dm_op' [-Werror=implicit-function-declaration]
rc = HYPERVISOR_dm_op(kdata.dom, kdata.num, xbufs);
cc1: some warnings being treated as errors

vim +/HYPERVISOR_dm_op +673 drivers/xen/privcmd.c

667 for (i = 0; i < kdata.num; i++) {
668 set_xen_guest_handle(xbufs[i].h, kbufs[i].uptr);
669 xbufs[i].size = kbufs[i].size;
670 }
672 xen_preemptible_hcall_begin();
> 673 rc = HYPERVISOR_dm_op(kdata.dom, kdata.num, xbufs);
674 xen_preemptible_hcall_end();
676 out:

0-DAY kernel test infrastructure Open Source Technology Center Intel Corporation

Attachment: .config.gz
Description: application/gzip