[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201701250909.CwXslKN1%fengguang.wu@intel.com>
Date: Wed, 25 Jan 2017 09:59:54 +0800
From: kbuild test robot <lkp@...el.com>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc: kbuild-all@...org, Andrea Arcangeli <aarcange@...hat.com>,
Hugh Dickins <hughd@...gle.com>,
Rik van Riel <riel@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org,
"Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Subject: Re: [PATCH 02/12] mm: introduce page_check_walk()
Hi Kirill,
[auto build test ERROR on mmotm/master]
[also build test ERROR on v4.10-rc5 next-20170124]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Kirill-A-Shutemov/Fix-few-rmap-related-THP-bugs/20170125-081918
base: git://git.cmpxchg.org/linux-mmotm.git master
config: sparc64-allnoconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
reproduce:
wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# save the attached .config to linux build tree
make.cross ARCH=sparc64
All error/warnings (new ones prefixed by >>):
mm/page_check.c: In function 'check_pte':
>> mm/page_check.c:48:38: error: invalid operands to binary - (have 'void *' and 'struct page *')
if (migration_entry_to_page(entry) - pcw->page >=
^ ~~~~~~~~~
>> mm/page_check.c:52:38: warning: comparison of distinct pointer types lacks a cast
if (migration_entry_to_page(entry) < pcw->page)
^
vim +48 mm/page_check.c
42 swp_entry_t entry;
43 if (!is_swap_pte(*pcw->pte))
44 return false;
45 entry = pte_to_swp_entry(*pcw->pte);
46 if (!is_migration_entry(entry))
47 return false;
> 48 if (migration_entry_to_page(entry) - pcw->page >=
49 hpage_nr_pages(pcw->page)) {
50 return false;
51 }
> 52 if (migration_entry_to_page(entry) < pcw->page)
53 return false;
54 } else {
55 if (!pte_present(*pcw->pte))
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/gzip" (5132 bytes)
Powered by blists - more mailing lists