linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [tip:x86/entry 2/19] include/xen/interface/hvm/hvm_op.h:33:28: error: a parameter list without types is only allowed in a function definition
@ 2020-05-31 11:13 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-05-31 11:13 UTC (permalink / raw)
  To: Vitaly, Kuznetsov,
  Cc: kbuild-all, clang-built-linux, linux-kernel, x86,
	Thomas Gleixner, Juergen Gross

[-- Attachment #1: Type: text/plain, Size: 3786 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-randconfig-r036-20200531 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 2388a096e7865c043e83ece4e26654bd3d1a20d5)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        git checkout 28447ea4154239025044381144f849ff749ee9ef
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>

All error/warnings (new ones prefixed by >>, old ones prefixed by <<):

In file included from arch/x86/xen/suspend_hvm.c:5:
In file included from include/xen/hvm.h:6:
In file included from include/xen/interface/hvm/params.h:24:
include/xen/interface/hvm/hvm_op.h:29:5: error: unknown type name 'domid_t'
domid_t  domid;    /* IN */
^
>> include/xen/interface/hvm/hvm_op.h:33:1: warning: declaration specifier missing, defaulting to 'int'
DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_param);
^
int
>> include/xen/interface/hvm/hvm_op.h:33:28: error: a parameter list without types is only allowed in a function definition
DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_param);
^
include/xen/interface/hvm/hvm_op.h:39:5: error: unknown type name 'domid_t'
domid_t  domid;
^
include/xen/interface/hvm/hvm_op.h:44:1: warning: declaration specifier missing, defaulting to 'int'
DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_pagetable_dying_t);
^
int
include/xen/interface/hvm/hvm_op.h:56:5: error: unknown type name 'domid_t'
domid_t domid;
^
include/xen/interface/hvm/hvm_op.h:63:1: warning: declaration specifier missing, defaulting to 'int'
DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_get_mem_type);
^
int
include/xen/interface/hvm/hvm_op.h:63:28: error: a parameter list without types is only allowed in a function definition
DEFINE_GUEST_HANDLE_STRUCT(xen_hvm_get_mem_type);
^
3 warnings and 5 errors generated.

vim +33 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 33 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: 36321 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-05-31 11:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-31 11:13 [tip:x86/entry 2/19] include/xen/interface/hvm/hvm_op.h:33:28: error: a parameter list without types is only allowed in a function definition kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).