linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [nsaenz-rpi:ct-work-defer-wip 23/25] arch/x86/kernel/alternative.c:1186:47: error: 'CONTEXT_WORK_SYNC' undeclared
@ 2022-05-14  5:36 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-14  5:36 UTC (permalink / raw)
  To: Nicolas Saenz Julienne; +Cc: kbuild-all, linux-kernel, Peter Zijlstra (Intel)

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git ct-work-defer-wip
head:   ed63029652239a6befad96dd473b16332913f889
commit: d79e9aa1c1e3f664fff9d4e83500d7884777cad9 [23/25] context_tracking,x86: Fix text_poke_sync() vs NOHZ_FULL
config: i386-tinyconfig (https://download.01.org/0day-ci/archive/20220514/202205141328.mnihXHJe-lkp@intel.com/config)
compiler: gcc-11 (Debian 11.2.0-20) 11.2.0
reproduce (this is a W=1 build):
        # https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git/commit/?id=d79e9aa1c1e3f664fff9d4e83500d7884777cad9
        git remote add nsaenz-rpi https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git
        git fetch --no-tags nsaenz-rpi ct-work-defer-wip
        git checkout d79e9aa1c1e3f664fff9d4e83500d7884777cad9
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash arch/x86/kernel/ arch/x86/mm/

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

All errors (new ones prefixed by >>):

   arch/x86/kernel/alternative.c: In function 'do_sync_core_cond':
>> arch/x86/kernel/alternative.c:1186:47: error: 'CONTEXT_WORK_SYNC' undeclared (first use in this function)
    1186 |                                               CONTEXT_WORK_SYNC);
         |                                               ^~~~~~~~~~~~~~~~~
   arch/x86/kernel/alternative.c:1186:47: note: each undeclared identifier is reported only once for each function it appears in
   arch/x86/kernel/alternative.c:1187:1: error: control reaches end of non-void function [-Werror=return-type]
    1187 | }
         | ^
   cc1: some warnings being treated as errors


vim +/CONTEXT_WORK_SYNC +1186 arch/x86/kernel/alternative.c

  1182	
  1183	static bool do_sync_core_cond(int cpu, void *info)
  1184	{
  1185		return !context_tracking_set_cpu_work(cpu, CONTEXT_USER | CONTEXT_GUEST,
> 1186						      CONTEXT_WORK_SYNC);
  1187	}
  1188	

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

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

only message in thread, other threads:[~2022-05-14  5:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-14  5:36 [nsaenz-rpi:ct-work-defer-wip 23/25] arch/x86/kernel/alternative.c:1186:47: error: 'CONTEXT_WORK_SYNC' undeclared 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;
as well as URLs for NNTP newsgroup(s).