All of lore.kernel.org
 help / color / mirror / Atom feed
* [ardb:x86-efi-runtime-cleanup 6/6] arch/x86/include/asm/uv/bios.h:118:16: error: expected ')'
@ 2023-07-03 20:39 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-07-03 20:39 UTC (permalink / raw)
  To: Ard Biesheuvel; +Cc: llvm, oe-kbuild-all

tree:   git://git.kernel.org/pub/scm/linux/kernel/git/ardb/linux.git x86-efi-runtime-cleanup
head:   f587ec0ba862176b8f48ab73e66516647db95107
commit: f587ec0ba862176b8f48ab73e66516647db95107 [6/6] efi/x86: Rely on compiler to emit MS ABI calls
config: x86_64-allmodconfig (https://download.01.org/0day-ci/archive/20230704/202307040405.ZjxQfWw3-lkp@intel.com/config)
compiler: clang version 15.0.7 (https://github.com/llvm/llvm-project.git 8dfdcc7b7bf66834a761bd8de445840ef68e4d1a)
reproduce: (https://download.01.org/0day-ci/archive/20230704/202307040405.ZjxQfWw3-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202307040405.ZjxQfWw3-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from drivers/platform/x86/uv_sysfs.c:14:
>> arch/x86/include/asm/uv/bios.h:118:16: error: expected ')'
           u64 (__efiapi *function)(enum uv_bios_cmd, ...);
                         ^
   arch/x86/include/asm/uv/bios.h:118:6: note: to match this '('
           u64 (__efiapi *function)(enum uv_bios_cmd, ...);
               ^
>> arch/x86/include/asm/uv/bios.h:118:7: error: field '__efiapi' declared as a function
           u64 (__efiapi *function)(enum uv_bios_cmd, ...);
                ^
   2 errors generated.


vim +118 arch/x86/include/asm/uv/bios.h

   110	
   111	/*
   112	 * The UV system table describes specific firmware
   113	 * capabilities available to the Linux kernel at runtime.
   114	 */
   115	struct uv_systab {
   116		char signature[4];	/* must be UV_SYSTAB_SIG */
   117		u32 revision;		/* distinguish different firmware revs */
 > 118		u64 (__efiapi *function)(enum uv_bios_cmd, ...);
   119					/* BIOS runtime callback function ptr */
   120		u32 size;		/* systab size (starting with _VERSION_UV4) */
   121		struct {
   122			u32 type:8;	/* type of entry */
   123			u32 offset:24;	/* byte offset from struct start to entry */
   124		} entry[1];		/* additional entries follow */
   125	};
   126	extern struct uv_systab *uv_systab;
   127	

-- 
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2023-07-03 20:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-03 20:39 [ardb:x86-efi-runtime-cleanup 6/6] arch/x86/include/asm/uv/bios.h:118:16: error: expected ')' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.