From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 4D210C433EF for ; Tue, 7 Jun 2022 07:41:16 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.94.2) (envelope-from ) id 1nyTpw-0006jX-0m; Tue, 07 Jun 2022 07:41:12 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1nyTpr-0006jQ-2X for linux-f2fs-devel@lists.sourceforge.net; Tue, 07 Jun 2022 07:41:09 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=Content-Type:MIME-Version:Message-ID:Subject:Cc:To: From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=1AyLDmVWepWhZ40cNW3RGgLSCsAy0s+ojliK3ufC17I=; b=VWsKAtrUm1J5Ck0VQqFvzeIZw7 JWhQ4ApWUS3sng/dKwPca8rde6Y8DYUlqtnsCzRwErA5u9Meao5bMvPsoguHDJbik6uIVphqXZEE5 fLH/4vWTql4IYtBxcVmGzTM8qVfkFxzbQjp0m/Baw00Ks+9mg8BYt+iNh/cIKP2wLwgI=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=Content-Type:MIME-Version:Message-ID:Subject:Cc:To:From:Date:Sender: Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date :Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=1AyLDmVWepWhZ40cNW3RGgLSCsAy0s+ojliK3ufC17I=; b=K ZUux4t9nbeME7XRULjyif77/mew3qnLsgw5ZjQovksdrWEGcWfqVd7A1yE1uSyVR1QP2alAAQ/lGj j/v9ho7SqNzsu1QK/TGHxgatuA4ES89Q36C+2ge7b9pFsHpryTYeIC3G2rdUACXDmPGk2rP5FiNO8 nA81lfhkZDvGwM38=; Received: from mga01.intel.com ([192.55.52.88]) by sfi-mx-2.v28.lw.sourceforge.com with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.94.2) id 1nyTpj-00088w-4j for linux-f2fs-devel@lists.sourceforge.net; Tue, 07 Jun 2022 07:41:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654587660; x=1686123660; h=date:from:to:cc:subject:message-id:mime-version; bh=B+WYoP6Zk3TaibE1wctiooiWrRYzinG+AW1DrGNq9DM=; b=jTRPATNbNIzoqdFD6LXY+1CaEizIzudtOFV/DmQ9njo9GAoVC+/qpmdT V3qLbvbqrythA2kzW2S4eQcx6HEIX8RVaR9O9PamzdjDOzUklnyKjcwxV A5Gh8+2KO8/Gf2lYlUTsz4JHcFSIgaVDgxPaw285kkH3l63BCs65IBb12 oCFJbsiLbTWpKIhAqZF5QH2qsrsvsp/c8JM3L14xDPVziFzBKB8M3gRhs AOWQnxZkAPhX7uWqAT4qE5cwppK5ni/plcCKH21j5UhRAUu5ODxeDcyYF Clg3mDGjlbdOVsars0v4Y1bKLMyneeQtfmLDzoetSLCBMSsncbmhjKeef g==; X-IronPort-AV: E=McAfee;i="6400,9594,10370"; a="302073048" X-IronPort-AV: E=Sophos;i="5.91,283,1647327600"; d="scan'208";a="302073048" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Jun 2022 00:40:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,283,1647327600"; d="scan'208";a="636004037" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by fmsmga008.fm.intel.com with ESMTP; 07 Jun 2022 00:40:47 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nyTpW-000DTx-Aa; Tue, 07 Jun 2022 07:40:46 +0000 Date: Tue, 7 Jun 2022 15:40:21 +0800 From: kernel test robot To: Jack Qiu via Linux-f2fs-devel Message-ID: <202206071533.vc9l1Css-lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline X-Headers-End: 1nyTpj-00088w-4j Subject: [f2fs-dev] [jaegeuk-f2fs:dev-test 2/2] fs/f2fs/file.c:3908:15: error: use of undeclared identifier 'sbi' X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Chao Yu , linux-f2fs-devel@lists.sourceforge.net, Jaegeuk Kim Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net tree: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test head: 7f7c4d65019e9c82538b92ec5df2e4f0c6765998 commit: 7f7c4d65019e9c82538b92ec5df2e4f0c6765998 [2/2] f2fs: optimize error handling in redirty_blocks config: i386-randconfig-a002 (https://download.01.org/0day-ci/archive/20220607/202206071533.vc9l1Css-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b92436efcb7813fc481b30f2593a4907568d917a) 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 # https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git/commit/?id=7f7c4d65019e9c82538b92ec5df2e4f0c6765998 git remote add jaegeuk-f2fs https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git git fetch --no-tags jaegeuk-f2fs dev-test git checkout 7f7c4d65019e9c82538b92ec5df2e4f0c6765998 # 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=i386 SHELL=/bin/bash fs/f2fs/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> fs/f2fs/file.c:3908:15: error: use of undeclared identifier 'sbi' f2fs_bug_on(sbi, !page); ^ 1 error generated. vim +/sbi +3908 fs/f2fs/file.c 3884 3885 static int redirty_blocks(struct inode *inode, pgoff_t page_idx, int len) 3886 { 3887 DEFINE_READAHEAD(ractl, NULL, NULL, inode->i_mapping, page_idx); 3888 struct address_space *mapping = inode->i_mapping; 3889 struct page *page; 3890 pgoff_t redirty_idx = page_idx; 3891 int i, page_len = 0, ret = 0; 3892 3893 page_cache_ra_unbounded(&ractl, len, 0); 3894 3895 for (i = 0; i < len; i++, page_idx++) { 3896 page = read_cache_page(mapping, page_idx, NULL, NULL); 3897 if (IS_ERR(page)) { 3898 ret = PTR_ERR(page); 3899 break; 3900 } 3901 page_len++; 3902 } 3903 3904 for (i = 0; i < page_len; i++, redirty_idx++) { 3905 page = find_lock_page(mapping, redirty_idx); 3906 3907 /* It will never fail, when page has pinned above */ > 3908 f2fs_bug_on(sbi, !page); 3909 3910 set_page_dirty(page); 3911 f2fs_put_page(page, 1); 3912 f2fs_put_page(page, 0); 3913 } 3914 3915 return ret; 3916 } 3917 -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel