From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 18FD02F23 for ; Fri, 11 Feb 2022 06:36:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644561395; x=1676097395; h=date:from:to:cc:subject:message-id:mime-version; bh=YbQfRgQKwOy61NOIipnOYoslKqUkIPtIlRPYTd1xt6w=; b=QipEtCpcT73oWN3o6NZpvKyYj9GC8lw25AIih1jcbhzHfiPoFaewam6O qAWxmgrjDddAdqJAnqYC/O5FUqLUsbqJQV7bi6qtYb593xziORF3VKV5m GJmP1jcqFQj0VUL0Ye8md3kQYp7VKVNFI9th3Cncx5b3QgMTEAyZCpheb XmyWQXjORlUkkUM6K+6AbcnljoCYVPtCLc6oKf5HILJyt2KtKLDnQVXiw EnK6M+qg8Og2yGZ1owzyByLuZjWnUfwqhxgpCoDeh0PpTQdCslnxU0Y0U CV5JMzX/YH4lpdB1GnrEV/iKsXCnbxioXUbmOmjsSnvPtvG9OPmhT30XT w==; X-IronPort-AV: E=McAfee;i="6200,9189,10254"; a="247263897" X-IronPort-AV: E=Sophos;i="5.88,359,1635231600"; d="scan'208";a="247263897" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Feb 2022 22:36:34 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,359,1635231600"; d="scan'208";a="537559204" Received: from lkp-server01.sh.intel.com (HELO d95dc2dabeb1) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 10 Feb 2022 22:36:32 -0800 Received: from kbuild by d95dc2dabeb1 with local (Exim 4.92) (envelope-from ) id 1nIPXk-0004Er-6F; Fri, 11 Feb 2022 06:36:32 +0000 Date: Fri, 11 Feb 2022 14:35:33 +0800 From: kernel test robot To: David Howells Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org Subject: [ammarfaizi2-block:dhowells/linux-fs/netfs-maple 25/35] fs/fs-writeback.c:2789:2: error: implicit declaration of function 'wbc_attach_unlock_fdatawrite_inode' Message-ID: <202202111418.cjJuXYM8-lkp@intel.com> Precedence: bulk X-Mailing-List: llvm@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.10.1 (2018-07-13) tree: https://github.com/ammarfaizi2/linux-block dhowells/linux-fs/netfs-maple head: 429e2bb6fb190f390ed23afc0d2308e877c43be5 commit: 9c1befbc079fcef04228d2b67e931f9635d58591 [25/35] vfs: Take I_SYNC whilst performing fsync() and similar config: arm-colibri_pxa270_defconfig (https://download.01.org/0day-ci/archive/20220211/202202111418.cjJuXYM8-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project f6685f774697c85d6a352dcea013f46a99f9fe31) 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 arm cross compiling tool for clang build # apt-get install binutils-arm-linux-gnueabi # https://github.com/ammarfaizi2/linux-block/commit/9c1befbc079fcef04228d2b67e931f9635d58591 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block dhowells/linux-fs/netfs-maple git checkout 9c1befbc079fcef04228d2b67e931f9635d58591 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> fs/fs-writeback.c:2789:2: error: implicit declaration of function 'wbc_attach_unlock_fdatawrite_inode' [-Werror,-Wimplicit-function-declaration] wbc_attach_unlock_fdatawrite_inode(wbc, inode); ^ fs/fs-writeback.c:2789:2: note: did you mean 'wbc_attach_fdatawrite_inode'? include/linux/writeback.h:325:20: note: 'wbc_attach_fdatawrite_inode' declared here static inline void wbc_attach_fdatawrite_inode(struct writeback_control *wbc, ^ 1 error generated. vim +/wbc_attach_unlock_fdatawrite_inode +2789 fs/fs-writeback.c 2762 2763 /** 2764 * filemap_fdatawrite_wbc - start writeback on mapping dirty pages in range 2765 * @mapping: address space structure to write 2766 * @wbc: the writeback_control controlling the writeout 2767 * 2768 * Call writepages on the mapping using the provided wbc to control the 2769 * writeout. 2770 * 2771 * Return: %0 on success, negative error code otherwise. 2772 */ 2773 int filemap_fdatawrite_wbc(struct address_space *mapping, 2774 struct writeback_control *wbc) 2775 { 2776 struct inode *inode = mapping->host; 2777 int ret; 2778 2779 if (!mapping_can_writeback(mapping) || 2780 !mapping_tagged(mapping, PAGECACHE_TAG_DIRTY)) 2781 return 0; 2782 2783 spin_lock(&inode->i_lock); 2784 if (inode->i_state & I_SYNC) { 2785 __inode_wait_for_writeback(inode); 2786 WARN_ON(inode->i_state & I_SYNC); 2787 } 2788 > 2789 wbc_attach_unlock_fdatawrite_inode(wbc, inode); --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org