* [chrome-os:chromeos-5.4 34/55] mm/vmscan.c:2904:40: sparse: sparse: incorrect type in argument 1 (different address spaces)
@ 2021-07-06 13:48 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-07-06 13:48 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3485 bytes --]
tree: https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.4
head: 737037f5e6df38a08137574fe4bb77fee6254155
commit: 8c987beaae2bdfa3fb35468fe681a9b57f064fc8 [34/55] BACKPORT: FROMLIST: mm: multigenerational lru: Kconfig
config: sparc-randconfig-s031-20210706 (attached as .config)
compiler: sparc-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.3-341-g8af24329-dirty
git remote add chrome-os https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.4
git checkout 8c987beaae2bdfa3fb35468fe681a9b57f064fc8
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=sparc
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 >>)
>> mm/vmscan.c:2904:40: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected struct task_struct *p @@ got struct task_struct [noderef] <asn:4> *owner @@
mm/vmscan.c:2904:40: sparse: expected struct task_struct *p
mm/vmscan.c:2904:40: sparse: got struct task_struct [noderef] <asn:4> *owner
mm/vmscan.c:3226:18: sparse: sparse: undefined identifier 'pte_index'
mm/vmscan.c:6833:48: sparse: sparse: context imbalance in 'check_move_unevictable_pages' - unexpected unlock
vim +2904 mm/vmscan.c
7adc80c85d8815 Yu Zhao 2021-04-05 2893
7adc80c85d8815 Yu Zhao 2021-04-05 2894 void lru_gen_migrate_mm(struct mm_struct *mm)
7adc80c85d8815 Yu Zhao 2021-04-05 2895 {
7adc80c85d8815 Yu Zhao 2021-04-05 2896 struct mem_cgroup *memcg;
7adc80c85d8815 Yu Zhao 2021-04-05 2897
7adc80c85d8815 Yu Zhao 2021-04-05 2898 lockdep_assert_held(&mm->owner->alloc_lock);
7adc80c85d8815 Yu Zhao 2021-04-05 2899
7adc80c85d8815 Yu Zhao 2021-04-05 2900 if (mem_cgroup_disabled())
7adc80c85d8815 Yu Zhao 2021-04-05 2901 return;
7adc80c85d8815 Yu Zhao 2021-04-05 2902
7adc80c85d8815 Yu Zhao 2021-04-05 2903 rcu_read_lock();
7adc80c85d8815 Yu Zhao 2021-04-05 @2904 memcg = mem_cgroup_from_task(mm->owner);
7adc80c85d8815 Yu Zhao 2021-04-05 2905 rcu_read_unlock();
7adc80c85d8815 Yu Zhao 2021-04-05 2906 if (memcg == mm->lrugen.memcg)
7adc80c85d8815 Yu Zhao 2021-04-05 2907 return;
7adc80c85d8815 Yu Zhao 2021-04-05 2908
7adc80c85d8815 Yu Zhao 2021-04-05 2909 VM_BUG_ON_MM(!mm->lrugen.memcg, mm);
7adc80c85d8815 Yu Zhao 2021-04-05 2910 VM_BUG_ON_MM(list_empty(&mm->lrugen.list), mm);
7adc80c85d8815 Yu Zhao 2021-04-05 2911
7adc80c85d8815 Yu Zhao 2021-04-05 2912 lru_gen_del_mm(mm);
7adc80c85d8815 Yu Zhao 2021-04-05 2913 lru_gen_add_mm(mm);
7adc80c85d8815 Yu Zhao 2021-04-05 2914 }
7adc80c85d8815 Yu Zhao 2021-04-05 2915
:::::: The code at line 2904 was first introduced by commit
:::::: 7adc80c85d8815b4e2f5b7454c31bedc7f04de34 BACKPORT: FROMLIST: mm: multigenerational lru: mm_struct list
:::::: TO: Yu Zhao <yuzhao@google.com>
:::::: CC: Commit Bot <commit-bot@chromium.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 26933 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-07-06 13:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-06 13:48 [chrome-os:chromeos-5.4 34/55] mm/vmscan.c:2904:40: sparse: sparse: incorrect type in argument 1 (different address spaces) kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.