linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [mmotm:master 117/327] kernel/cgroup/cgroup.c:3528:13: sparse: error: incompatible types in comparison expression (different address spaces)
@ 2019-02-07 14:55 kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2019-02-07 14:55 UTC (permalink / raw)
  To: Suren Baghdasaryan
  Cc: kbuild-all, Johannes Weiner, Andrew Morton, Linux Memory Management List

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

tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   79d7b443931d1eff3b746a2956a6abf9cb5d85cc
commit: 52c6636ad0584ccff2e166dee62d55a6dacbb76f [117/327] psi: introduce psi monitor
reproduce:
        # apt-get install sparse
        git checkout 52c6636ad0584ccff2e166dee62d55a6dacbb76f
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

Note: the mmotm/master HEAD 79d7b443931d1eff3b746a2956a6abf9cb5d85cc builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

>> kernel/cgroup/cgroup.c:3528:13: sparse: error: incompatible types in comparison expression (different address spaces)
   kernel/cgroup/cgroup.c:2684:20: sparse: warning: context imbalance in 'cgroup_procs_write_start' - wrong count at exit
   kernel/cgroup/cgroup.c:2740:9: sparse: warning: context imbalance in 'cgroup_procs_write_finish' - wrong count at exit
   kernel/cgroup/cgroup.c:2851:9: sparse: warning: context imbalance in 'cgroup_lock_and_drain_offline' - wrong count at exit
   kernel/cgroup/cgroup.c:4552:16: sparse: warning: context imbalance in 'cgroup_procs_write' - wrong count at exit
   kernel/cgroup/cgroup.c:4593:16: sparse: warning: context imbalance in 'cgroup_threads_write' - wrong count at exit

vim +3528 kernel/cgroup/cgroup.c

  3520	
  3521	static __poll_t cgroup_pressure_poll(struct kernfs_open_file *of,
  3522						  poll_table *pt)
  3523	{
  3524		struct psi_trigger *t;
  3525		__poll_t ret;
  3526	
  3527		rcu_read_lock();
> 3528		t = rcu_dereference(of->priv);
  3529		if (t)
  3530			ret = psi_trigger_poll(t, of->file, pt);
  3531		else
  3532			ret = DEFAULT_POLLMASK | EPOLLERR | EPOLLPRI;
  3533		rcu_read_unlock();
  3534	
  3535		return ret;
  3536	}
  3537	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 67278 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-07 14:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-07 14:55 [mmotm:master 117/327] kernel/cgroup/cgroup.c:3528:13: sparse: error: incompatible types in comparison expression (different address spaces) 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