* [dhowells-fs:fscache-netfs-lib 2/28] 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
@ 2021-03-24 1:55 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-24 1:55 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2449 bytes --]
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/commit/?id=a9e1626c4d3c876c864422ac4388d859dcb801c0
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@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
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 35431 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-03-24 1:55 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-24 1:55 [dhowells-fs:fscache-netfs-lib 2/28] 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 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.