lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202003171144.s1LERqlC%lkp@intel.com>
Date:   Tue, 17 Mar 2020 11:15:11 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Yang Shi <yang.shi@...ux.alibaba.com>
Cc:     kbuild-all@...ts.01.org, shakeelb@...gle.com, vbabka@...e.cz,
        willy@...radead.org, akpm@...ux-foundation.org,
        yang.shi@...ux.alibaba.com, linux-mm@...ck.org,
        linux-kernel@...r.kernel.org
Subject: Re: [v2 PATCH 1/2] mm: swap: make page_evictable() inline

Hi Yang,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on mmotm/master]
[also build test ERROR on linus/master v5.6-rc6 next-20200316]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/Yang-Shi/mm-swap-make-page_evictable-inline/20200317-094836
base:   git://git.cmpxchg.org/linux-mmotm.git master
config: openrisc-simple_smp_defconfig (attached as .config)
compiler: or1k-linux-gcc (GCC) 9.2.0
reproduce:
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # save the attached .config to linux build tree
        GCC_VERSION=9.2.0 make.cross ARCH=openrisc 

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

All errors (new ones prefixed by >>):

   In file included from include/linux/suspend.h:5,
                    from init/do_mounts.c:7:
   include/linux/swap.h: In function 'page_evictable':
   include/linux/swap.h:395:9: error: implicit declaration of function 'mapping_unevictable'; did you mean 'mapping_deny_writable'? [-Werror=implicit-function-declaration]
     395 |  ret = !mapping_unevictable(page_mapping(page)) && !PageMlocked(page);
         |         ^~~~~~~~~~~~~~~~~~~
         |         mapping_deny_writable
   In file included from include/linux/mempolicy.h:16,
                    from include/linux/shmem_fs.h:7,
                    from init/do_mounts.c:21:
   include/linux/pagemap.h: At top level:
>> include/linux/pagemap.h:73:20: error: conflicting types for 'mapping_unevictable'
      73 | static inline bool mapping_unevictable(struct address_space *mapping)
         |                    ^~~~~~~~~~~~~~~~~~~
   In file included from include/linux/suspend.h:5,
                    from init/do_mounts.c:7:
   include/linux/swap.h:395:9: note: previous implicit declaration of 'mapping_unevictable' was here
     395 |  ret = !mapping_unevictable(page_mapping(page)) && !PageMlocked(page);
         |         ^~~~~~~~~~~~~~~~~~~
   cc1: some warnings being treated as errors

vim +/mapping_unevictable +73 include/linux/pagemap.h

    72	
  > 73	static inline bool mapping_unevictable(struct address_space *mapping)
    74	{
    75		if (mapping)
    76			return test_bit(AS_UNEVICTABLE, &mapping->flags);
    77		return !!mapping;
    78	}
    79	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (8035 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ