From: kernel test robot <lkp@intel.com>
To: Mel Gorman <mgorman@suse.de>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: [mel:sched-altidlecore-v2r8 1/1] kernel/sched/fair.c:6254:28: error: 'SIS_IDLE_UNAVAILABLE' undeclared; did you mean 'SKB_FCLONE_UNAVAILABLE'?
Date: Tue, 21 Sep 2021 01:15:42 +0800 [thread overview]
Message-ID: <202109210134.UH3QyGgj-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 4536 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git sched-altidlecore-v2r8
head: b2af1a88245f6cbeb28343e89f3183a77b29d52d
commit: b2af1a88245f6cbeb28343e89f3183a77b29d52d [1/1] alt idle core tracking
config: powerpc-g5_defconfig (attached as .config)
compiler: powerpc64-linux-gcc (GCC) 11.2.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/mel/linux.git/commit/?id=b2af1a88245f6cbeb28343e89f3183a77b29d52d
git remote add mel https://git.kernel.org/pub/scm/linux/kernel/git/mel/linux.git
git fetch --no-tags mel sched-altidlecore-v2r8
git checkout b2af1a88245f6cbeb28343e89f3183a77b29d52d
# save the attached .config to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=powerpc 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/sched/fair.c:5491:6: warning: no previous prototype for 'init_cfs_bandwidth' [-Wmissing-prototypes]
5491 | void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {}
| ^~~~~~~~~~~~~~~~~~
kernel/sched/fair.c: In function 'get_idle_core':
>> kernel/sched/fair.c:6254:28: error: 'SIS_IDLE_UNAVAILABLE' undeclared (first use in this function); did you mean 'SKB_FCLONE_UNAVAILABLE'?
6254 | return def ? cpu : SIS_IDLE_UNAVAILABLE;
| ^~~~~~~~~~~~~~~~~~~~
| SKB_FCLONE_UNAVAILABLE
kernel/sched/fair.c:6254:28: note: each undeclared identifier is reported only once for each function it appears in
kernel/sched/fair.c: In function 'select_idle_cpu':
kernel/sched/fair.c:6333:39: error: 'SIS_IDLE_UNAVAILABLE' undeclared (first use in this function); did you mean 'SKB_FCLONE_UNAVAILABLE'?
6333 | set_idle_core(target, SIS_IDLE_UNAVAILABLE);
| ^~~~~~~~~~~~~~~~~~~~
| SKB_FCLONE_UNAVAILABLE
kernel/sched/fair.c: In function 'select_idle_sibling':
kernel/sched/fair.c:6486:34: error: 'SIS_IDLE_UNAVAILABLE' undeclared (first use in this function); did you mean 'SKB_FCLONE_UNAVAILABLE'?
6486 | if (idle_core == SIS_IDLE_UNAVAILABLE &&
| ^~~~~~~~~~~~~~~~~~~~
| SKB_FCLONE_UNAVAILABLE
>> kernel/sched/fair.c:6496:55: error: 'SIS_IDLE_AVAILABLE' undeclared (first use in this function); did you mean 'DL_STATE_AVAILABLE'?
6496 | set_idle_core(target, SIS_IDLE_AVAILABLE);
| ^~~~~~~~~~~~~~~~~~
| DL_STATE_AVAILABLE
kernel/sched/fair.c: At top level:
kernel/sched/fair.c:11622:6: warning: no previous prototype for 'free_fair_sched_group' [-Wmissing-prototypes]
11622 | void free_fair_sched_group(struct task_group *tg) { }
| ^~~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:11624:5: warning: no previous prototype for 'alloc_fair_sched_group' [-Wmissing-prototypes]
11624 | int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent)
| ^~~~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:11629:6: warning: no previous prototype for 'online_fair_sched_group' [-Wmissing-prototypes]
11629 | void online_fair_sched_group(struct task_group *tg) { }
| ^~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:11631:6: warning: no previous prototype for 'unregister_fair_sched_group' [-Wmissing-prototypes]
11631 | void unregister_fair_sched_group(struct task_group *tg) { }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c: In function 'get_idle_core':
kernel/sched/fair.c:6255:1: error: control reaches end of non-void function [-Werror=return-type]
6255 | }
| ^
cc1: some warnings being treated as errors
vim +6254 kernel/sched/fair.c
6251
6252 static inline int get_idle_core(int cpu, bool def)
6253 {
> 6254 return def ? cpu : SIS_IDLE_UNAVAILABLE;
6255 }
6256
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 22899 bytes --]
reply other threads:[~2021-09-20 17:29 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=202109210134.UH3QyGgj-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mgorman@suse.de \
/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®