From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============6990678675500884566==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [PATCH v4 2/9] spi: Create helper API to lookup ACPI info for spi device Date: Fri, 21 Jan 2022 01:05:08 +0800 Message-ID: <202201210121.LFkpILul-lkp@intel.com> In-Reply-To: <20220120134326.5295-3-sbinding@opensource.cirrus.com> List-Id: --===============6990678675500884566== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Stefan, Thank you for the patch! Yet something to improve: [auto build test ERROR on next-20220120] [also build test ERROR on v5.16] [cannot apply to broonie-spi/for-next rafael-pm/linux-next tiwai-sound/for-= next linus/master v5.16 v5.16-rc8 v5.16-rc7] [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/Stefan-Binding/Support-Spi= -in-i2c-multi-instantiate-driver/20220120-214608 base: 7fc5253f5a13271e9df35d6b936ff97b74540a59 config: arc-randconfig-r043-20220120 (https://download.01.org/0day-ci/archi= ve/20220121/202201210121.LFkpILul-lkp(a)intel.com/config) compiler: arc-elf-gcc (GCC) 11.2.0 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/aedf84002ec15689074715919= 15e28bed40e8f9a git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Stefan-Binding/Support-Spi-in-i2c-= multi-instantiate-driver/20220120-214608 git checkout aedf84002ec1568907471591915e28bed40e8f9a # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=3D$HOME/0day COMPILER=3Dgcc-11.2.0 make.cross= O=3Dbuild_dir ARCH=3Darc SHELL=3D/bin/bash drivers/media/i2c/ 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 include/media/v4l2-common.h:270, from include/media/v4l2-subdev.h:15, from include/media/v4l2-device.h:13, from drivers/media/i2c/tvaudio.c:40: >> include/linux/spi/spi.h:769:1: error: expected identifier or '(' before = '{' token 769 | { | ^ include/linux/spi/spi.h:767:34: warning: 'acpi_spi_device_alloc' declare= d 'static' but never defined [-Wunused-function] 767 | static inline struct spi_device *acpi_spi_device_alloc(struct sp= i_controller *ctlr, | ^~~~~~~~~~~~~~~~~~~~~ vim +769 include/linux/spi/spi.h 762 = 763 #if IS_ENABLED(CONFIG_ACPI) 764 extern struct spi_device *acpi_spi_device_alloc(struct spi_controlle= r *ctlr, 765 struct acpi_device *adev); 766 #else 767 static inline struct spi_device *acpi_spi_device_alloc(struct spi_co= ntroller *ctlr, 768 struct acpi_device *adev); > 769 { 770 return ERR_PTR(-EOPNOTSUPP); 771 } 772 #endif 773 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============6990678675500884566==--