tree:
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
fscache-netfs-lib
head: fc307ae9cffffb17be171fb6613a788746e0b564
commit: a9e1626c4d3c876c864422ac4388d859dcb801c0 [2/28] mm: Add
wait_on_page_writeback_killable()
config: x86_64-randconfig-a012-20210323 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
78a65cd945d006ff02f9d24d9cc20a302ed93b08)
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
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git/com...
git remote add dhowells-fs
https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git
git fetch --no-tags dhowells-fs fscache-netfs-lib
git checkout a9e1626c4d3c876c864422ac4388d859dcb801c0
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
> mm/page-writeback.c:2847: warning: expecting prototype for Wait
for a page to complete writeback(). Prototype was for wait_on_page_writeback_killable()
instead
vim +2847 mm/page-writeback.c
2835
2836 /**
2837 * Wait for a page to complete writeback
2838 * @page: The page to wait on
2839 *
2840 * Wait for the writeback status of a page to clear or a fatal signal to occur.
2841 *
2842 * Return:
2843 * - 0 on success.
2844 * - -EINTR if a fatal signal was encountered.
2845 */
2846 int wait_on_page_writeback_killable(struct page *page)
2847 {
2848 int ret = 0;
2849
2850 while (PageWriteback(page)) {
2851 trace_wait_on_page_writeback(page, page_mapping(page));
2852 ret = wait_on_page_bit_killable(page, PG_writeback);
2853 if (ret < 0)
2854 break;
2855 }
2856
2857 return ret;
2858 }
2859 EXPORT_SYMBOL(wait_on_page_writeback_killable);
2860
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org