lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202109210134.UH3QyGgj-lkp@intel.com>
Date:   Tue, 21 Sep 2021 01:15:42 +0800
From:   kernel test robot <lkp@...el.com>
To:     Mel Gorman <mgorman@...e.de>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.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'?

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (22899 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ