Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) (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 E9A3A7EC for ; Sat, 15 Apr 2023 14:43:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1681569830; x=1713105830; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=c2lMCSvwqFQY1REy4vSaDvs3TbQ8k9zYaciNwSsJzNY=; b=Z7+S59pMnR0st1BEFrj5kL8i40UFJQ0KTSepUkLP/WGWBy0po8w9sMq1 p5Of/IehnORJnPto7iAI4wOTQgZSrQaf62bbTHR8HbYT+cGdo3uXuuepu +ns7CeDQFKrCbmGBroqr4ccag7SIxLjvdValCAtYRH6me5zVCynIbweuK 5lOZgHWvtqH2i6USfXors9K5sexMR/JxA7kRKozWZKc0uaU58JLamy+Ib FkjFw2Jn7IwiGjHuZsy2Yx+eucOkdR66mCeFItQd4GQsroFmob+PdVE7G iDOHk8wvjZ+h40Maeeal8X57kBmGxfT8s1KJcE+L6lpp4hIGKbmfiMzUX Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10681"; a="343407703" X-IronPort-AV: E=Sophos;i="5.99,199,1677571200"; d="scan'208";a="343407703" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Apr 2023 07:43:48 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10681"; a="814269800" X-IronPort-AV: E=Sophos;i="5.99,199,1677571200"; d="scan'208";a="814269800" Received: from lkp-server01.sh.intel.com (HELO b613635ddfff) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 15 Apr 2023 07:43:44 -0700 Received: from kbuild by b613635ddfff with local (Exim 4.96) (envelope-from ) id 1pnh7v-000b7l-1w; Sat, 15 Apr 2023 14:43:43 +0000 Date: Sat, 15 Apr 2023 22:43:33 +0800 From: kernel test robot To: Yangtao Li , Jaegeuk Kim , Chao Yu , Chao Yu Cc: oe-kbuild-all@lists.linux.dev, Yangtao Li , linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH] f2fs: refactor struct f2fs_attr macro Message-ID: <202304152234.wjaY3IYm-lkp@intel.com> References: <20230415132446.13063-1-frank.li@vivo.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230415132446.13063-1-frank.li@vivo.com> Hi Yangtao, kernel test robot noticed the following build warnings: [auto build test WARNING on jaegeuk-f2fs/dev-test] [also build test WARNING on jaegeuk-f2fs/dev] [cannot apply to linus/master v6.3-rc6] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Yangtao-Li/f2fs-refactor-struct-f2fs_attr-macro/20230415-212520 base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test patch link: https://lore.kernel.org/r/20230415132446.13063-1-frank.li%40vivo.com patch subject: [PATCH] f2fs: refactor struct f2fs_attr macro config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20230415/202304152234.wjaY3IYm-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 12.1.0 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://github.com/intel-lab-lkp/linux/commit/280d6a5b38dd6b5a5303f5426e9f71466a13f047 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Yangtao-Li/f2fs-refactor-struct-f2fs_attr-macro/20230415-212520 git checkout 280d6a5b38dd6b5a5303f5426e9f71466a13f047 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash fs/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot | Link: https://lore.kernel.org/oe-kbuild-all/202304152234.wjaY3IYm-lkp@intel.com/ All warnings (new ones prefixed by >>): >> fs/f2fs/sysfs.c:981:1: warning: data definition has no type or storage class 981 | FAULT_INFO_TYPE_GENERAL_RW_ATTR(inject_type); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs/f2fs/sysfs.c:981:1: error: type defaults to 'int' in declaration of 'FAULT_INFO_TYPE_GENERAL_RW_ATTR' [-Werror=implicit-int] >> fs/f2fs/sysfs.c:981:1: warning: parameter names (without types) in function declaration fs/f2fs/sysfs.c:1045:27: error: 'f2fs_attr_inject_type' undeclared here (not in a function); did you mean 'f2fs_attr_inject_rate'? 1045 | #define ATTR_LIST(name) (&f2fs_attr_##name.attr) | ^~~~~~~~~~ fs/f2fs/sysfs.c:1094:9: note: in expansion of macro 'ATTR_LIST' 1094 | ATTR_LIST(inject_type), | ^~~~~~~~~ cc1: some warnings being treated as errors vim +981 fs/f2fs/sysfs.c 977 978 /* FAULT_INFO ATTR */ 979 #ifdef CONFIG_F2FS_FAULT_INJECTION 980 FAULT_INFO_RATE_GENERAL_RW_ATTR(inject_rate); > 981 FAULT_INFO_TYPE_GENERAL_RW_ATTR(inject_type); 982 #endif 983 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests