mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Nicolas Saenz Julienne <nsaenzju@redhat.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.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'
Date: Mon, 16 May 2022 15:09:48 +0800	[thread overview]
Message-ID: <202205161511.pldvqjB0-lkp@intel.com> (raw)

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

                 reply	other threads:[~2022-05-16  7:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202205161511.pldvqjB0-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nsaenzju@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®