From: kbuild test robot <lkp@intel.com>
To: "Vitaly, Kuznetsov," <vkuznets@redhat.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
x86@kernel.org, Thomas Gleixner <tglx@linutronix.de>,
Juergen Gross <jgross@suse.com>
Subject: [tip:x86/entry 2/19] include/xen/interface/hvm/hvm_op.h:29:5: error: unknown type name 'domid_t'
Date: Mon, 1 Jun 2020 18:27:36 +0800 [thread overview]
Message-ID: <202006011829.eaXWZ30T%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 3796 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86/entry
head: 5980d208e5ef28455e9e8b08f6250b443a2f0893
commit: 28447ea4154239025044381144f849ff749ee9ef [2/19] xen: Move xen_setup_callback_vector() definition to include/xen/hvm.h
config: x86_64-rhel-7.6 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-13) 9.3.0
reproduce (this is a W=1 build):
git checkout 28447ea4154239025044381144f849ff749ee9ef
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All errors (new ones prefixed by >>, old ones prefixed by <<):
In file included from include/xen/interface/hvm/params.h:24,
from include/xen/hvm.h:6,
from arch/x86/xen/suspend_hvm.c:5:
>> include/xen/interface/hvm/hvm_op.h:29:5: error: unknown type name 'domid_t'
29 | domid_t domid; /* IN */
| ^~~~~~~
include/xen/interface/hvm/hvm_op.h:33:1: warning: data definition has no type or storage class
33 | DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_param);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
>> include/xen/interface/hvm/hvm_op.h:33:1: error: type defaults to 'int' in declaration of 'DEFINE_GUEST_HANDLE_STRUCT' [-Werror=implicit-int]
include/xen/interface/hvm/hvm_op.h:33:1: warning: parameter names (without types) in function declaration
include/xen/interface/hvm/hvm_op.h:39:5: error: unknown type name 'domid_t'
39 | domid_t domid;
| ^~~~~~~
include/xen/interface/hvm/hvm_op.h:44:1: warning: data definition has no type or storage class
44 | DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_pagetable_dying_t);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
include/xen/interface/hvm/hvm_op.h:44:1: error: type defaults to 'int' in declaration of 'DEFINE_GUEST_HANDLE_STRUCT' [-Werror=implicit-int]
include/xen/interface/hvm/hvm_op.h:56:5: error: unknown type name 'domid_t'
56 | domid_t domid;
| ^~~~~~~
include/xen/interface/hvm/hvm_op.h:63:1: warning: data definition has no type or storage class
63 | DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_get_mem_type);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
include/xen/interface/hvm/hvm_op.h:63:1: error: type defaults to 'int' in declaration of 'DEFINE_GUEST_HANDLE_STRUCT' [-Werror=implicit-int]
include/xen/interface/hvm/hvm_op.h:63:1: warning: parameter names (without types) in function declaration
cc1: some warnings being treated as errors
vim +/domid_t +29 include/xen/interface/hvm/hvm_op.h
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14 23
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14 24 /* Get/set subcommands: the second argument of the hypercall is a
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14 25 * pointer to a xen_hvm_param struct. */
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14 26 #define HVMOP_set_param 0
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14 27 #define HVMOP_get_param 1
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14 28 struct xen_hvm_param {
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14 @29 domid_t domid; /* IN */
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14 30 uint32_t index; /* IN */
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14 31 uint64_t value; /* IN/OUT */
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14 32 };
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14 @33 DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_param);
18f19aa62a267f Jeremy Fitzhardinge 2010-05-14 34
:::::: The code at line 29 was first introduced by commit
:::::: 18f19aa62a267f2f759e278018f1032adf4c3774 xen: Add support for HVM hypercalls.
:::::: TO: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
:::::: CC: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 48643 bytes --]
reply other threads:[~2020-06-01 10:30 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=202006011829.eaXWZ30T%lkp@intel.com \
--to=lkp@intel.com \
--cc=jgross@suse.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tglx@linutronix.de \
--cc=vkuznets@redhat.com \
--cc=x86@kernel.org \
/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
Powered by JetHome