Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: Shrikanth Hegde <sshegde@linux.ibm.com>
To: kernel test robot <lkp@intel.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH 4/5] sched/core: Push current task when cpu is parked
Date: Sat, 24 May 2025 21:15:22 +0530	[thread overview]
Message-ID: <4ed46786-7b9c-43ef-87e7-42c4f10b07c7@linux.ibm.com> (raw)
In-Reply-To: <202505241517.5L95fW8h-lkp@intel.com>



On 5/24/25 13:09, kernel test robot wrote:
> Hi Shrikanth,
> 
> [This is a private test report for your RFC patch.]
> kernel test robot noticed the following build errors:
> 
> [auto build test ERROR on tip/sched/core]
> [also build test ERROR on powerpc/next powerpc/fixes peterz-queue/sched/core linus/master tip/smp/core v6.15-rc7 next-20250523]
> [If your patch is applied to the wrong git tree, kindly drop us a note.
> And when submitting patch, we suggest to use '--base' as documented in
> https://git-scm.com/docs/git-format-patch#_base_tree_information]
> 
> url:    https://github.com/intel-lab-lkp/linux/commits/Shrikanth-Hegde/cpumask-Introduce-cpu-parked-mask/20250524-021851
> base:   tip/sched/core
> patch link:    https://lore.kernel.org/r/20250523181448.3777233-5-sshegde%40linux.ibm.com
> patch subject: [RFC PATCH 4/5] sched/core: Push current task when cpu is parked
> config: x86_64-allnoconfig (https://download.01.org/0day-ci/archive/20250524/202505241517.5L95fW8h-lkp@intel.com/config)
> compiler: clang version 20.1.2 (https://github.com/llvm/llvm-project 58df0ef89dd64126512e4ee27b4ac3fd8ddf6247)
> reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250524/202505241517.5L95fW8h-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/202505241517.5L95fW8h-lkp@intel.com/
> 
> All errors (new ones prefixed by >>):
> 

Thanks for the report. This is due to NR_CPUS=1. will get this fixed in v2.

>>> kernel/sched/core.c:5660:6: error: call to undeclared function 'cpu_parked'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
>      5660 |         if (cpu_parked(cpu))
>           |             ^
>     kernel/sched/core.c:7667:12: warning: array index -1 is before the beginning of the array [-Warray-bounds]
>      7667 |                                        preempt_modes[preempt_dynamic_mode] : "undef",
>           |                                        ^             ~~~~~~~~~~~~~~~~~~~~
>     kernel/sched/core.c:7642:1: note: array 'preempt_modes' declared here
>      7642 | const char *preempt_modes[] = {
>           | ^
>     1 warning and 1 error generated.
> 
> 

      reply	other threads:[~2025-05-24 15:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250523181448.3777233-5-sshegde@linux.ibm.com>
2025-05-24  7:39 ` [RFC PATCH 4/5] sched/core: Push current task when cpu is parked kernel test robot
2025-05-24 15:45   ` Shrikanth Hegde [this message]

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=4ed46786-7b9c-43ef-87e7-42c4f10b07c7@linux.ibm.com \
    --to=sshegde@linux.ibm.com \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /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