From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============2616243502415466871==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: Re: [RFC PATCH] component: Add common helpers for compare/release functions Date: Fri, 28 Jan 2022 19:18:03 +0800 Message-ID: <202201281910.MDslPMAO-lkp@intel.com> In-Reply-To: <20220128081101.27837-1-yong.wu@mediatek.com> List-Id: --===============2616243502415466871== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi Yong, [FYI, it's a private test report for your RFC patch.] [auto build test ERROR on drm/drm-next] [also build test ERROR on tegra-drm/drm/tegra/for-next drm-exynos/exynos-dr= m-next shawnguo/for-next rockchip/for-next sunxi/sunxi/for-next linus/maste= r v5.17-rc1 next-20220128] [cannot apply to rmk-arm/drm-armada-devel rmk-arm/drm-armada-fixes] [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/Yong-Wu/component-Add-comm= on-helpers-for-compare-release-functions/20220128-161211 base: git://anongit.freedesktop.org/drm/drm drm-next config: arc-randconfig-r014-20220128 (https://download.01.org/0day-ci/archi= ve/20220128/202201281910.MDslPMAO-lkp(a)intel.com/config) compiler: arceb-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/a7a6fa70216ab5593374c0892= 808f5d198790c51 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Yong-Wu/component-Add-common-helpe= rs-for-compare-release-functions/20220128-161211 git checkout a7a6fa70216ab5593374c0892808f5d198790c51 # 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/gpu/drm/sprd/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): >> drivers/gpu/drm/sprd/sprd_drm.c:137:12: error: redefinition of 'compare_= of' 137 | static int compare_of(struct device *dev, void *data) | ^~~~~~~~~~ In file included from drivers/gpu/drm/sprd/sprd_drm.c:6: include/linux/component.h:88:19: note: previous definition of 'compare_o= f' with type 'int(struct device *, void *)' 88 | static inline int compare_of(struct device *dev, void *data) | ^~~~~~~~~~ vim +/compare_of +137 drivers/gpu/drm/sprd/sprd_drm.c 43531edd53f07c Kevin Tang 2021-12-07 136 = 43531edd53f07c Kevin Tang 2021-12-07 @137 static int compare_of(struct dev= ice *dev, void *data) 43531edd53f07c Kevin Tang 2021-12-07 138 { 43531edd53f07c Kevin Tang 2021-12-07 139 return dev->of_node =3D=3D data; 43531edd53f07c Kevin Tang 2021-12-07 140 } 43531edd53f07c Kevin Tang 2021-12-07 141 = --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============2616243502415466871==--