linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* kernel/livepatch/../sched/sched.h:1619:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
@ 2020-08-04 20:03 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-08-04 20:03 UTC (permalink / raw)
  To: Madhuparna Bhowmik
  Cc: kbuild-all, linux-kernel, Ingo Molnar, Peter Zijlstra (Intel)

[-- Attachment #1: Type: text/plain, Size: 2059 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c0842fbc1b18c7a044e6ff3e8fa78bfa822c7d1a
commit: 4104a562e0ca62e971089db9d3c47794a0d7d4eb sched/core: Annotate curr pointer in rq with __rcu
date:   6 months ago
config: x86_64-randconfig-s021-20200805 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.2-117-g8c7aee71-dirty
        git checkout 4104a562e0ca62e971089db9d3c47794a0d7d4eb
        # 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@intel.com>


sparse warnings: (new ones prefixed by >>)

   kernel/livepatch/transition.c: note: in included file:
>> kernel/livepatch/../sched/sched.h:1619:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> kernel/livepatch/../sched/sched.h:1619:25: sparse:    struct task_struct [noderef] <asn:4> *
>> kernel/livepatch/../sched/sched.h:1619:25: sparse:    struct task_struct *

vim +1619 kernel/livepatch/../sched/sched.h

029632fbb7b7c9d kernel/sched.h Peter Zijlstra 2011-10-25  1616  
029632fbb7b7c9d kernel/sched.h Peter Zijlstra 2011-10-25  1617  static inline int task_current(struct rq *rq, struct task_struct *p)
029632fbb7b7c9d kernel/sched.h Peter Zijlstra 2011-10-25  1618  {
029632fbb7b7c9d kernel/sched.h Peter Zijlstra 2011-10-25 @1619  	return rq->curr == p;
029632fbb7b7c9d kernel/sched.h Peter Zijlstra 2011-10-25  1620  }
029632fbb7b7c9d kernel/sched.h Peter Zijlstra 2011-10-25  1621  

:::::: The code at line 1619 was first introduced by commit
:::::: 029632fbb7b7c9d85063cc9eb470de6c54873df3 sched: Make separate sched*.c translation units

:::::: TO: Peter Zijlstra <a.p.zijlstra@chello.nl>
:::::: CC: Ingo Molnar <mingo@elte.hu>

---
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: 35470 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* kernel/livepatch/../sched/sched.h:1619:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
@ 2021-01-15  7:45 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-01-15  7:45 UTC (permalink / raw)
  To: Madhuparna Bhowmik
  Cc: kbuild-all, linux-kernel, Ingo Molnar, Peter Zijlstra (Intel)

[-- Attachment #1: Type: text/plain, Size: 2333 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   146620506274bd24d52fb1c589110a30eed8240b
commit: 4104a562e0ca62e971089db9d3c47794a0d7d4eb sched/core: Annotate curr pointer in rq with __rcu
date:   11 months ago
config: x86_64-randconfig-s032-20210115 (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://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4104a562e0ca62e971089db9d3c47794a0d7d4eb
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4104a562e0ca62e971089db9d3c47794a0d7d4eb
        # 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@intel.com>


"sparse warnings: (new ones prefixed by >>)"
   kernel/livepatch/transition.c: note: in included file:
>> kernel/livepatch/../sched/sched.h:1619:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/livepatch/../sched/sched.h:1619:25: sparse:    struct task_struct [noderef] <asn:4> *
>> kernel/livepatch/../sched/sched.h:1619:25: sparse:    struct task_struct *

vim +1619 kernel/livepatch/../sched/sched.h

029632fbb7b7c9d8 kernel/sched.h Peter Zijlstra 2011-10-25  1616  
029632fbb7b7c9d8 kernel/sched.h Peter Zijlstra 2011-10-25  1617  static inline int task_current(struct rq *rq, struct task_struct *p)
029632fbb7b7c9d8 kernel/sched.h Peter Zijlstra 2011-10-25  1618  {
029632fbb7b7c9d8 kernel/sched.h Peter Zijlstra 2011-10-25 @1619  	return rq->curr == p;
029632fbb7b7c9d8 kernel/sched.h Peter Zijlstra 2011-10-25  1620  }
029632fbb7b7c9d8 kernel/sched.h Peter Zijlstra 2011-10-25  1621  

:::::: The code at line 1619 was first introduced by commit
:::::: 029632fbb7b7c9d85063cc9eb470de6c54873df3 sched: Make separate sched*.c translation units

:::::: TO: Peter Zijlstra <a.p.zijlstra@chello.nl>
:::::: CC: Ingo Molnar <mingo@elte.hu>

---
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: 35671 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* kernel/livepatch/../sched/sched.h:1619:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
@ 2020-11-28 18:14 kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2020-11-28 18:14 UTC (permalink / raw)
  To: Madhuparna Bhowmik
  Cc: kbuild-all, linux-kernel, Ingo Molnar, Peter Zijlstra (Intel)

[-- Attachment #1: Type: text/plain, Size: 2321 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   c84e1efae022071a4fcf9f1899bf71777c49943a
commit: 4104a562e0ca62e971089db9d3c47794a0d7d4eb sched/core: Annotate curr pointer in rq with __rcu
date:   10 months ago
config: x86_64-randconfig-s031-20201129 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.3-151-g540c2c4b-dirty
        # https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=4104a562e0ca62e971089db9d3c47794a0d7d4eb
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 4104a562e0ca62e971089db9d3c47794a0d7d4eb
        # 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@intel.com>


"sparse warnings: (new ones prefixed by >>)"
   kernel/livepatch/transition.c: note: in included file:
>> kernel/livepatch/../sched/sched.h:1619:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
   kernel/livepatch/../sched/sched.h:1619:25: sparse:    struct task_struct [noderef] <asn:4> *
>> kernel/livepatch/../sched/sched.h:1619:25: sparse:    struct task_struct *

vim +1619 kernel/livepatch/../sched/sched.h

029632fbb7b7c9 kernel/sched.h Peter Zijlstra 2011-10-25  1616  
029632fbb7b7c9 kernel/sched.h Peter Zijlstra 2011-10-25  1617  static inline int task_current(struct rq *rq, struct task_struct *p)
029632fbb7b7c9 kernel/sched.h Peter Zijlstra 2011-10-25  1618  {
029632fbb7b7c9 kernel/sched.h Peter Zijlstra 2011-10-25 @1619  	return rq->curr == p;
029632fbb7b7c9 kernel/sched.h Peter Zijlstra 2011-10-25  1620  }
029632fbb7b7c9 kernel/sched.h Peter Zijlstra 2011-10-25  1621  

:::::: The code at line 1619 was first introduced by commit
:::::: 029632fbb7b7c9d85063cc9eb470de6c54873df3 sched: Make separate sched*.c translation units

:::::: TO: Peter Zijlstra <a.p.zijlstra@chello.nl>
:::::: CC: Ingo Molnar <mingo@elte.hu>

---
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: 31126 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* kernel/livepatch/../sched/sched.h:1619:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
@ 2020-05-24  0:54 kbuild test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kbuild test robot @ 2020-05-24  0:54 UTC (permalink / raw)
  To: Madhuparna Bhowmik
  Cc: kbuild-all, linux-kernel, Ingo Molnar, Peter Zijlstra (Intel)

[-- Attachment #1: Type: text/plain, Size: 2000 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   0cfc8a8d70dcd51db783e8e87917e02149c71458
commit: 4104a562e0ca62e971089db9d3c47794a0d7d4eb sched/core: Annotate curr pointer in rq with __rcu
date:   3 months ago
config: x86_64-randconfig-s002-20200524 (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-193-gb8fad4bc-dirty
        git checkout 4104a562e0ca62e971089db9d3c47794a0d7d4eb
        # save the attached .config to linux build tree
        make W=1 C=1 ARCH=x86_64 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

>> kernel/livepatch/../sched/sched.h:1619:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
>> kernel/livepatch/../sched/sched.h:1619:25: sparse:    struct task_struct [noderef] <asn:4> *
>> kernel/livepatch/../sched/sched.h:1619:25: sparse:    struct task_struct *

vim +1619 kernel/livepatch/../sched/sched.h

029632fbb7b7c9 kernel/sched.h Peter Zijlstra 2011-10-25  1616  
029632fbb7b7c9 kernel/sched.h Peter Zijlstra 2011-10-25  1617  static inline int task_current(struct rq *rq, struct task_struct *p)
029632fbb7b7c9 kernel/sched.h Peter Zijlstra 2011-10-25  1618  {
029632fbb7b7c9 kernel/sched.h Peter Zijlstra 2011-10-25 @1619  	return rq->curr == p;
029632fbb7b7c9 kernel/sched.h Peter Zijlstra 2011-10-25  1620  }
029632fbb7b7c9 kernel/sched.h Peter Zijlstra 2011-10-25  1621  

:::::: The code at line 1619 was first introduced by commit
:::::: 029632fbb7b7c9d85063cc9eb470de6c54873df3 sched: Make separate sched*.c translation units

:::::: TO: Peter Zijlstra <a.p.zijlstra@chello.nl>
:::::: CC: Ingo Molnar <mingo@elte.hu>

---
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: 35445 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-01-15  7:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-04 20:03 kernel/livepatch/../sched/sched.h:1619:25: sparse: sparse: incompatible types in comparison expression (different address spaces): kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-01-15  7:45 kernel test robot
2020-11-28 18:14 kernel test robot
2020-05-24  0:54 kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).