tree:
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/core
head: 9f47b4eeebb0c1b6e3658591a345e30b8cecd11a
commit: 91d4e02a2c05edefcddc5006a7fb55c3a74e956d [8/9] sched: Move SCHED_DEBUG to debugfs
config: arm-randconfig-r016-20210324 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
a4fb88669cd98db6fef7dcac88e3ec425d40c00d)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
#
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?...
git remote add peterz-queue
https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
git fetch --no-tags peterz-queue sched/core
git checkout 91d4e02a2c05edefcddc5006a7fb55c3a74e956d
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> kernel/sched/fair.c:630:5: warning: no previous prototype for
function 'sched_update_scaling' [-Wmissing-prototypes]
int
sched_update_scaling(void)
^
kernel/sched/fair.c:630:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int sched_update_scaling(void)
^
static
kernel/sched/fair.c:5388:6: warning: no previous prototype for function
'init_cfs_bandwidth' [-Wmissing-prototypes]
void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {}
^
kernel/sched/fair.c:5388:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {}
^
static
kernel/sched/fair.c:11196:6: warning: no previous prototype for function
'free_fair_sched_group' [-Wmissing-prototypes]
void free_fair_sched_group(struct task_group *tg) { }
^
kernel/sched/fair.c:11196:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void free_fair_sched_group(struct task_group *tg) { }
^
static
kernel/sched/fair.c:11198:5: warning: no previous prototype for function
'alloc_fair_sched_group' [-Wmissing-prototypes]
int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent)
^
kernel/sched/fair.c:11198:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent)
^
static
kernel/sched/fair.c:11203:6: warning: no previous prototype for function
'online_fair_sched_group' [-Wmissing-prototypes]
void online_fair_sched_group(struct task_group *tg) { }
^
kernel/sched/fair.c:11203:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void online_fair_sched_group(struct task_group *tg) { }
^
static
kernel/sched/fair.c:11205:6: warning: no previous prototype for function
'unregister_fair_sched_group' [-Wmissing-prototypes]
void unregister_fair_sched_group(struct task_group *tg) { }
^
kernel/sched/fair.c:11205:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void unregister_fair_sched_group(struct task_group *tg) { }
^
static
kernel/sched/fair.c:489:20: warning: unused function 'list_del_leaf_cfs_rq'
[-Wunused-function]
static inline void list_del_leaf_cfs_rq(struct cfs_rq *cfs_rq)
^
kernel/sched/fair.c:2965:20: warning: unused function 'account_numa_enqueue'
[-Wunused-function]
static inline void account_numa_enqueue(struct rq *rq, struct task_struct *p)
^
kernel/sched/fair.c:2969:20: warning: unused function 'account_numa_dequeue'
[-Wunused-function]
static inline void account_numa_dequeue(struct rq *rq, struct task_struct *p)
^
kernel/sched/fair.c:2973:20: warning: unused function 'update_scan_period'
[-Wunused-function]
static inline void update_scan_period(struct task_struct *p, int new_cpu)
^
kernel/sched/fair.c:4080:20: warning: unused function 'remove_entity_load_avg'
[-Wunused-function]
static inline void remove_entity_load_avg(struct sched_entity *se) {}
^
kernel/sched/fair.c:5369:20: warning: unused function 'sync_throttle'
[-Wunused-function]
static inline void sync_throttle(struct task_group *tg, int cpu) {}
^
kernel/sched/fair.c:5382:19: warning: unused function 'throttled_lb_pair'
[-Wunused-function]
static inline int throttled_lb_pair(struct task_group *tg,
^
kernel/sched/fair.c:5394:37: warning: unused function 'tg_cfs_bandwidth'
[-Wunused-function]
static inline struct cfs_bandwidth *tg_cfs_bandwidth(struct task_group *tg)
^
kernel/sched/fair.c:5398:20: warning: unused function 'destroy_cfs_bandwidth'
[-Wunused-function]
static inline void destroy_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {}
^
kernel/sched/fair.c:5399:20: warning: unused function 'update_runtime_enabled'
[-Wunused-function]
static inline void update_runtime_enabled(struct rq *rq) {}
^
kernel/sched/fair.c:5400:20: warning: unused function
'unthrottle_offline_cfs_rqs' [-Wunused-function]
static inline void unthrottle_offline_cfs_rqs(struct rq *rq) {}
^
17 warnings generated.
vim +/sched_update_scaling +630 kernel/sched/fair.c
625
626 /**************************************************************
627 * Scheduling class statistics methods:
628 */
629
630 int sched_update_scaling(void)
631 {
632 unsigned int factor = get_update_sysctl_factor();
633
634 sched_nr_latency = DIV_ROUND_UP(sysctl_sched_latency,
635 sysctl_sched_min_granularity);
636
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org