Hi Liang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on axboe-block/for-next] [also build test WARNING on v5.18-rc5 next-20220506] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/intel-lab-lkp/linux/commits/Liang-Chen/fs-Fix-page-cache-inconsistency-when-mixing-buffered-and-AIO-DIO-for-bdev/20220506-215958 base: https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git for-next config: riscv-randconfig-r024-20220506 (https://download.01.org/0day-ci/archive/20220507/202205070030.wgFHZ8hk-lkp@xxxxxxxxx/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project 5e004fb787698440a387750db7f8028e7cb14cfc) 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 riscv cross compiling tool for clang build # apt-get install binutils-riscv64-linux-gnu # https://github.com/intel-lab-lkp/linux/commit/2b2bda510e6c93a57581021c675b023d2f43e81e git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Liang-Chen/fs-Fix-page-cache-inconsistency-when-mixing-buffered-and-AIO-DIO-for-bdev/20220506-215958 git checkout 2b2bda510e6c93a57581021c675b023d2f43e81e # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=riscv SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> block/fops.c:423:5: warning: no previous prototype for function 'blkdev_sb_init_dio_done_wq' [-Wmissing-prototypes] int blkdev_sb_init_dio_done_wq(struct super_block *sb) ^ block/fops.c:423:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int blkdev_sb_init_dio_done_wq(struct super_block *sb) ^ static 1 warning generated. vim +/blkdev_sb_init_dio_done_wq +423 block/fops.c 422 > 423 int blkdev_sb_init_dio_done_wq(struct super_block *sb) 424 { 425 struct workqueue_struct *old; 426 struct workqueue_struct *wq = alloc_workqueue("dio/%s", 427 WQ_MEM_RECLAIM, 0, 428 sb->s_id); 429 if (!wq) 430 return -ENOMEM; 431 /* 432 * This has to be atomic as more DIOs can race to create the workqueue 433 */ 434 old = cmpxchg(&sb->s_dio_done_wq, NULL, wq); 435 /* Someone created workqueue before us? Free ours... */ 436 if (old) 437 destroy_workqueue(wq); 438 return 0; 439 } 440 -- 0-DAY CI Kernel Test Service https://01.org/lkp