mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [nsaenz-rpi:ct-work-defer-wip 22/25] kernel/context_tracking.c:719:47: error: 'struct context_tracking' has no member named 'active'
@ 2022-05-16  7:09 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-05-16  7:09 UTC (permalink / raw)
  To: Nicolas Saenz Julienne; +Cc: kbuild-all, linux-kernel

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git ct-work-defer-wip
head:   ed63029652239a6befad96dd473b16332913f889
commit: 54d59ad9b9db31d840346a4196c3b83b5410a1bf [22/25] context-tracking: Introduce work deferral infrastructure
config: microblaze-randconfig-r036-20220512 (https://download.01.org/0day-ci/archive/20220516/202205161511.pldvqjB0-lkp@intel.com/config)
compiler: microblaze-linux-gcc (GCC) 11.3.0
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/nsaenz/linux-rpi.git/commit/?id=54d59ad9b9db31d840346a4196c3b83b5410a1bf
        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 54d59ad9b9db31d840346a4196c3b83b5410a1bf
        # save the config file
        mkdir build_dir && cp config build_dir/.config
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=microblaze SHELL=/bin/bash

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 >>):

   kernel/context_tracking.c: In function 'context_tracking_set_cpu_work':
>> kernel/context_tracking.c:719:47: error: 'struct context_tracking' has no member named 'active'
     719 |         if (!context_tracking_enabled() || !ct->active)
         |                                               ^~


vim +719 kernel/context_tracking.c

   709	
   710	bool context_tracking_set_cpu_work(unsigned int cpu, unsigned int context,
   711					   unsigned int work)
   712	{
   713		struct context_tracking *ct = per_cpu_ptr(&context_tracking, cpu);
   714		unsigned int state;
   715	
   716		if (!IS_ENABLED(CONFIG_HAVE_CONTEXT_TRACKING_WORK))
   717			return false;
   718	
 > 719		if (!context_tracking_enabled() || !ct->active)

-- 
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-16  7:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-16  7:09 [nsaenz-rpi:ct-work-defer-wip 22/25] kernel/context_tracking.c:719:47: error: 'struct context_tracking' has no member named 'active' 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

all inboxes | Powered by JetHome®