[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202205161511.pldvqjB0-lkp@intel.com>
Date: Mon, 16 May 2022 15:09:48 +0800
From: kernel test robot <lkp@...el.com>
To: Nicolas Saenz Julienne <nsaenzju@...hat.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [nsaenz-rpi:ct-work-defer-wip 22/25]
kernel/context_tracking.c:719:47: error: 'struct context_tracking' has no
member named 'active'
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@...el.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
Powered by blists - more mailing lists