[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202202142042.ZrGvsx6C-lkp@intel.com>
Date: Mon, 14 Feb 2022 20:44:41 +0800
From: kernel test robot <lkp@...el.com>
To: "Matthew Wilcox (Oracle)" <willy@...radead.org>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org
Subject: [willy-pagecache:for-next 57/85] mm/folio-compat.c:173:6: error:
redefinition of 'mlock_vma_page'
tree: git://git.infradead.org/users/willy/pagecache for-next
head: c267b33d0001488f1d9dad12d6a87655e174d914
commit: 9f6308afc86e0291310d03238e80557983af6e40 [57/85] mm/mlock: Turn mlock_vma_page() into mlock_vma_folio()
config: h8300-alldefconfig (https://download.01.org/0day-ci/archive/20220214/202202142042.ZrGvsx6C-lkp@intel.com/config)
compiler: h8300-linux-gcc (GCC) 11.2.0
reproduce (this is a W=1 build):
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
git remote add willy-pagecache git://git.infradead.org/users/willy/pagecache
git fetch --no-tags willy-pagecache for-next
git checkout 9f6308afc86e0291310d03238e80557983af6e40
# save the config file to linux build tree
mkdir build_dir
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=h8300 SHELL=/bin/bash
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
mm/folio-compat.c:168:6: warning: no previous prototype for 'clear_page_mlock' [-Wmissing-prototypes]
168 | void clear_page_mlock(struct page *page)
| ^~~~~~~~~~~~~~~~
>> mm/folio-compat.c:173:6: error: redefinition of 'mlock_vma_page'
173 | void mlock_vma_page(struct page *page)
| ^~~~~~~~~~~~~~
In file included from mm/folio-compat.c:10:
mm/internal.h:503:20: note: previous definition of 'mlock_vma_page' with type 'void(struct page *)'
503 | static inline void mlock_vma_page(struct page *page) { }
| ^~~~~~~~~~~~~~
mm/folio-compat.c: In function 'mlock_vma_page':
>> mm/folio-compat.c:175:9: error: implicit declaration of function 'mlock_vma_folio'; did you mean 'mlock_vma_page'? [-Werror=implicit-function-declaration]
175 | mlock_vma_folio(page_folio(page));
| ^~~~~~~~~~~~~~~
| mlock_vma_page
cc1: some warnings being treated as errors
vim +/mlock_vma_page +173 mm/folio-compat.c
172
> 173 void mlock_vma_page(struct page *page)
174 {
> 175 mlock_vma_folio(page_folio(page));
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Powered by blists - more mailing lists