Re: [PATCH v2 10/10] mm: remove SWAP_[SUCCESS|AGAIN|FAIL]

From: kbuild test robot
Date: Thu Mar 16 2017 - 14:55:06 EST


Hi Minchan,

[auto build test ERROR on mmotm/master]
[also build test ERROR on next-20170310]
[cannot apply to v4.11-rc2]
[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/Minchan-Kim/make-try_to_unmap-simple/20170317-020635
base: git://git.cmpxchg.org/linux-mmotm.git master
config: i386-tinyconfig (attached as .config)
compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901
reproduce:
# save the attached .config to linux build tree
make ARCH=i386

All errors (new ones prefixed by >>):

mm/rmap.c: In function 'try_to_unmap_one':
>> mm/rmap.c:1417:11: error: 'SWAP_FAIL' undeclared (first use in this function)
ret = SWAP_FAIL;
^~~~~~~~~
mm/rmap.c:1417:11: note: each undeclared identifier is reported only once for each function it appears in

vim +/SWAP_FAIL +1417 mm/rmap.c

^1da177e Linus Torvalds 2005-04-16 1411 /*
^1da177e Linus Torvalds 2005-04-16 1412 * Store the swap location in the pte.
^1da177e Linus Torvalds 2005-04-16 1413 * See handle_pte_fault() ...
^1da177e Linus Torvalds 2005-04-16 1414 */
efeba3bd Minchan Kim 2017-03-10 1415 if (unlikely(PageSwapBacked(page) != PageSwapCache(page))) {
efeba3bd Minchan Kim 2017-03-10 1416 WARN_ON_ONCE(1);
3154f021 Minchan Kim 2017-03-10 @1417 ret = SWAP_FAIL;
3154f021 Minchan Kim 2017-03-10 1418 page_vma_mapped_walk_done(&pvmw);
3154f021 Minchan Kim 2017-03-10 1419 break;
3154f021 Minchan Kim 2017-03-10 1420 }

:::::: The code at line 1417 was first introduced by commit
:::::: 3154f021001fba264cc2cba4c4ff4bfb5a3e2f92 mm: fix lazyfree BUG_ON check in try_to_unmap_one()

:::::: TO: Minchan Kim <minchan@xxxxxxxxxx>
:::::: CC: Johannes Weiner <hannes@xxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip