tree:
https://android.googlesource.com/kernel/common android-4.19
head: 8b2fbd9076c7f12e34b73cd3e2ef69b6bea6fc09
commit: f609a2239f83f7c0d0da8a032922e04eaa8fb9c2 [33/37] ANDROID: sched/core: Move
SchedTune task API into UtilClamp wrappers
config: x86_64-randconfig-a015-20200823 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
b587ca93be114d07ec3bf654add97d7872325281)
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 x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
git checkout f609a2239f83f7c0d0da8a032922e04eaa8fb9c2
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
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:2515:6: warning: no previous prototype for function
'task_numa_work' [-Wmissing-prototypes]
void task_numa_work(struct callback_head *work)
^
kernel/sched/fair.c:2515:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void task_numa_work(struct callback_head *work)
^
static
kernel/sched/fair.c:2660:6: warning: no previous prototype for function
'task_tick_numa' [-Wmissing-prototypes]
void task_tick_numa(struct rq *rq, struct task_struct *curr)
^
kernel/sched/fair.c:2660:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void task_tick_numa(struct rq *rq, struct task_struct *curr)
^
static
kernel/sched/fair.c:3631:6: warning: no previous prototype for function
'sync_entity_load_avg' [-Wmissing-prototypes]
void sync_entity_load_avg(struct sched_entity *se)
^
kernel/sched/fair.c:3631:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void sync_entity_load_avg(struct sched_entity *se)
^
static
kernel/sched/fair.c:3644:6: warning: no previous prototype for function
'remove_entity_load_avg' [-Wmissing-prototypes]
void remove_entity_load_avg(struct sched_entity *se)
^
kernel/sched/fair.c:3644:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
void remove_entity_load_avg(struct sched_entity *se)
^
static
kernel/sched/fair.c:5082: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:5082: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:5854:6: warning: no previous prototype for
function 'schedtune_task_margin' [-Wmissing-prototypes]
long
schedtune_task_margin(struct task_struct *task)
^
kernel/sched/fair.c:5854:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
long schedtune_task_margin(struct task_struct *task)
^
static
kernel/sched/fair.c:6527:15: warning: no previous prototype for function
'capacity_curr_of' [-Wmissing-prototypes]
unsigned long capacity_curr_of(int cpu)
^
kernel/sched/fair.c:6527:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
unsigned long capacity_curr_of(int cpu)
^
static
kernel/sched/fair.c:11163: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:11163: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:11165: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:11165: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:11170: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:11170: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:11172: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:11172: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
11 warnings generated.
git remote add android-common
https://android.googlesource.com/kernel/common
git fetch --no-tags android-common android-4.19
git checkout f609a2239f83f7c0d0da8a032922e04eaa8fb9c2
vim +/schedtune_task_margin +5854 kernel/sched/fair.c
5853
5854 long schedtune_task_margin(struct task_struct *task)
5855 {
5856 int boost = schedtune_task_boost(task);
5857 unsigned long util;
5858 long margin;
5859
5860 if (boost == 0)
5861 return 0;
5862
5863 util = task_util_est(task);
5864 margin = schedtune_margin(util, boost);
5865
5866 return margin;
5867 }
5868
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org