[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202101210540.piOUr66G-lkp@intel.com>
Date: Thu, 21 Jan 2021 06:01:53 +0800
From: kernel test robot <lkp@...el.com>
To: Huaixin Chang <changhuaixin@...ux.alibaba.com>
Cc: kbuild-all@...ts.01.org, bsegall@...gle.com,
dietmar.eggemann@....com, juri.lelli@...hat.com,
khlebnikov@...dex-team.ru, linux-kernel@...r.kernel.org,
mgorman@...e.de, mingo@...hat.com, pauld@...head.com,
peterz@...radead.org
Subject: Re: [PATCH 2/4] sched/fair: Make CFS bandwidth controller burstable
Hi Huaixin,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on tip/sched/core]
[also build test WARNING on tip/master linux/master linus/master v5.11-rc4 next-20210120]
[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]
url: https://github.com/0day-ci/linux/commits/Huaixin-Chang/sched-fair-Introduce-primitives-for-CFS-bandwidth-burst/20210120-212731
base: https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git 65bcf072e20ed7597caa902f170f293662b0af3c
config: x86_64-randconfig-s022-20210120 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-208-g46a52ca4-dirty
# https://github.com/0day-ci/linux/commit/a62cc8421988be29990ad86e33e877fb8776f8bd
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Huaixin-Chang/sched-fair-Introduce-primitives-for-CFS-bandwidth-burst/20210120-212731
git checkout a62cc8421988be29990ad86e33e877fb8776f8bd
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
"sparse warnings: (new ones prefixed by >>)"
kernel/sched/fair.c:879:34: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct sched_entity *se @@ got struct sched_entity [noderef] __rcu * @@
kernel/sched/fair.c:879:34: sparse: expected struct sched_entity *se
kernel/sched/fair.c:879:34: sparse: got struct sched_entity [noderef] __rcu *
kernel/sched/fair.c:2523:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct task_struct *tsk @@ got struct task_struct [noderef] __rcu * @@
kernel/sched/fair.c:2523:13: sparse: expected struct task_struct *tsk
kernel/sched/fair.c:2523:13: sparse: got struct task_struct [noderef] __rcu *
kernel/sched/fair.c:10660:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:10660:9: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/fair.c:10660:9: sparse: got struct sched_domain [noderef] __rcu *parent
>> kernel/sched/fair.c:4623:6: sparse: sparse: symbol '__refill_cfs_bandwidth_runtime' was not declared. Should it be static?
kernel/sched/fair.c:4937:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/fair.c:4937:22: sparse: struct task_struct [noderef] __rcu *
kernel/sched/fair.c:4937:22: sparse: struct task_struct *
kernel/sched/fair.c:5480:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/fair.c:5480:38: sparse: expected struct task_struct *curr
kernel/sched/fair.c:5480:38: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/fair.c:6668:20: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:6668:20: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/fair.c:6668:20: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c:6790:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] tmp @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:6790:9: sparse: expected struct sched_domain *[assigned] tmp
kernel/sched/fair.c:6790:9: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c:6988:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/fair.c:6988:38: sparse: expected struct task_struct *curr
kernel/sched/fair.c:6988:38: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/fair.c:7239:38: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct task_struct *curr @@ got struct task_struct [noderef] __rcu *curr @@
kernel/sched/fair.c:7239:38: sparse: expected struct task_struct *curr
kernel/sched/fair.c:7239:38: sparse: got struct task_struct [noderef] __rcu *curr
kernel/sched/fair.c:8210:40: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct sched_domain *child @@ got struct sched_domain [noderef] __rcu *child @@
kernel/sched/fair.c:8210:40: sparse: expected struct sched_domain *child
kernel/sched/fair.c:8210:40: sparse: got struct sched_domain [noderef] __rcu *child
kernel/sched/fair.c:8703:22: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/fair.c:8703:22: sparse: struct task_struct [noderef] __rcu *
kernel/sched/fair.c:8703:22: sparse: struct task_struct *
kernel/sched/fair.c:9979:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:9979:9: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/fair.c:9979:9: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c:9635:44: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected struct sched_domain *sd_parent @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:9635:44: sparse: expected struct sched_domain *sd_parent
kernel/sched/fair.c:9635:44: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c:10057:9: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected struct sched_domain *[assigned] sd @@ got struct sched_domain [noderef] __rcu *parent @@
kernel/sched/fair.c:10057:9: sparse: expected struct sched_domain *[assigned] sd
kernel/sched/fair.c:10057:9: sparse: got struct sched_domain [noderef] __rcu *parent
kernel/sched/fair.c:2467:9: sparse: sparse: context imbalance in 'task_numa_placement' - different lock contexts for basic block
kernel/sched/fair.c:4593:31: sparse: sparse: marked inline, but without a definition
kernel/sched/fair.c: note: in included file:
kernel/sched/sched.h:1724:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1724:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1724:25: sparse: struct task_struct *
kernel/sched/sched.h:1879:9: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1879:9: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1879:9: sparse: struct task_struct *
kernel/sched/sched.h:1724:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1724:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1724:25: sparse: struct task_struct *
kernel/sched/sched.h:1724:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
kernel/sched/sched.h:1724:25: sparse: struct task_struct [noderef] __rcu *
kernel/sched/sched.h:1724:25: sparse: struct task_struct *
Please review and possibly fold the followup patch.
---
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" (36569 bytes)
Powered by blists - more mailing lists