public inbox for llvm@lists.linux.dev
 help / color / mirror / Atom feed
* [sean-jc:svm/sev_cache_opts 7/8] arch/x86/include/asm/smp.h:175:15: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int
@ 2025-02-27 14:18 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-27 14:18 UTC (permalink / raw)
  To: Zheyun Shen; +Cc: llvm, oe-kbuild-all, Sean Christopherson, Tom Lendacky

tree:   https://github.com/sean-jc/linux svm/sev_cache_opts
head:   0abca5ad72cf2bc8ebbb6b93be9a5c768f463d48
commit: 3c2b47771dc542fbdb237bd5218112905717dfae [7/8] x86, lib: Add wbinvd and wbnoinvd helpers to target multiple CPUs
config: i386-randconfig-012-20250227 (https://download.01.org/0day-ci/archive/20250227/202502272237.Jjp49UKY-lkp@intel.com/config)
compiler: clang version 19.1.7 (https://github.com/llvm/llvm-project cd708029e0b2869e80abe31ddb175f7c35361f90)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250227/202502272237.Jjp49UKY-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/202502272237.Jjp49UKY-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/x86/kernel/asm-offsets.c:14:
   In file included from include/linux/suspend.h:5:
   In file included from include/linux/swap.h:9:
   In file included from include/linux/memcontrol.h:13:
   In file included from include/linux/cgroup.h:17:
   In file included from include/linux/fs.h:33:
   In file included from include/linux/percpu-rwsem.h:7:
   In file included from include/linux/rcuwait.h:6:
   In file included from include/linux/sched/signal.h:9:
   In file included from include/linux/sched/task.h:13:
   In file included from include/linux/uaccess.h:12:
   In file included from arch/x86/include/asm/uaccess.h:17:
   In file included from arch/x86/include/asm/tlbflush.h:12:
>> arch/x86/include/asm/smp.h:175:15: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
     175 | static inline wbnoinvd_on_many_cpus(struct cpumask *cpus)
         | ~~~~~~~~~~~~~ ^
         | int
   1 error generated.
   make[3]: *** [scripts/Makefile.build:102: arch/x86/kernel/asm-offsets.s] Error 1 shuffle=3738855156
   make[3]: Target 'prepare' not remade because of errors.
   make[2]: *** [Makefile:1264: prepare0] Error 2 shuffle=3738855156
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:251: __sub-make] Error 2 shuffle=3738855156
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:251: __sub-make] Error 2 shuffle=3738855156
   make: Target 'prepare' not remade because of errors.


vim +/int +175 arch/x86/include/asm/smp.h

   174	
 > 175	static inline wbnoinvd_on_many_cpus(struct cpumask *cpus)
   176	{
   177		wbnoinvd();
   178	}
   179	

-- 
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:[~2025-02-27 14:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-27 14:18 [sean-jc:svm/sev_cache_opts 7/8] arch/x86/include/asm/smp.h:175:15: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox