Content-Type: multipart/mixed; boundary="===============5904375122442202413==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC PATCH 3/5] firmware_loader: Split fw_sysfs support from fallback Date: Fri, 04 Feb 2022 09:30:52 +0800 Message-ID: <202202040744.q4EU7xJp-lkp@intel.com> In-Reply-To: <20220203213053.360190-4-russell.h.weight@intel.com> List-Id: --===============5904375122442202413== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Russ, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on driver-core/driver-core-testing] [also build test ERROR on linus/master v5.17-rc2 next-20220203] [cannot apply to linux/master] [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/0day-ci/linux/commits/Russ-Weight/Extend-FW-fram= ework-for-user-FW-uploads/20220204-053320 base: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core.= git 13e906e50a8cf6033f22c03c4d772e36a9e02c6b config: hexagon-randconfig-r045-20220130 (https://download.01.org/0day-ci/a= rchive/20220204/202202040744.q4EU7xJp-lkp(a)intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project a73e4c= e6a59b01f0e37037761c1e6889d539d233) reproduce (this is a W=3D1 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/0day-ci/linux/commit/c230afe198b50ce7265dc77e7= f63e780b30f8521 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Russ-Weight/Extend-FW-framework-fo= r-user-FW-uploads/20220204-053320 git checkout c230afe198b50ce7265dc77e7f63e780b30f8521 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dclang make.cross W=3D= 1 O=3Dbuild_dir ARCH=3Dhexagon SHELL=3D/bin/bash drivers/base/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): In file included from drivers/base/firmware_loader/main.c:44: In file included from drivers/base/firmware_loader/fallback.h:9: >> drivers/base/firmware_loader/fw_sysfs.h:72:27: error: incomplete definit= ion of type 'struct firmware_fallback_config' return fw_fallback_config.loading_timeout; ~~~~~~~~~~~~~~~~~~^ drivers/base/firmware_loader/fw_sysfs.h:7:15: note: forward declaration = of 'struct firmware_fallback_config' extern struct firmware_fallback_config fw_fallback_config; ^ drivers/base/firmware_loader/fw_sysfs.h:78:20: error: incomplete definit= ion of type 'struct firmware_fallback_config' fw_fallback_config.loading_timeout =3D timeout; ~~~~~~~~~~~~~~~~~~^ drivers/base/firmware_loader/fw_sysfs.h:7:15: note: forward declaration = of 'struct firmware_fallback_config' extern struct firmware_fallback_config fw_fallback_config; ^ 2 errors generated. vim +72 drivers/base/firmware_loader/fw_sysfs.h 68 = 69 /* These getters are vetted to use int properly */ 70 static inline int __firmware_loading_timeout(void) 71 { > 72 return fw_fallback_config.loading_timeout; 73 } 74 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============5904375122442202413==--