From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============9050079243765323221==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [freescale-fslc:5.10-2.1.x-imx 4738/9999] sound/soc/codecs/rpmsg_wm8960_i2c.c:153:1: error: type defaults to 'int' in declaration of 'module_i2c_driver' Date: Fri, 04 Feb 2022 09:31:05 +0800 Message-ID: <202202040833.p2UtPwMu-lkp@intel.com> List-Id: --===============9050079243765323221== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable tree: https://github.com/Freescale/linux-fslc 5.10-2.1.x-imx head: 185a13076e02ee241bc1149b90f0fed051bf2649 commit: 86f468b84e88b97869e7a1150dd6c598d318566d [4738/9999] LF-4175-4: ASo= C: rpmsg_wm8960: add rpmsg_wm8960 codec config: xtensa-randconfig-c003-20220201 (https://download.01.org/0day-ci/ar= chive/20220204/202202040833.p2UtPwMu-lkp(a)intel.com/config) compiler: xtensa-linux-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/Freescale/linux-fslc/commit/86f468b84e88b97869= e7a1150dd6c598d318566d git remote add freescale-fslc https://github.com/Freescale/linux-fs= lc git fetch --no-tags freescale-fslc 5.10-2.1.x-imx git checkout 86f468b84e88b97869e7a1150dd6c598d318566d # 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=3Dxtensa SHELL=3D/bin/bash sound/soc/codecs/ If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): >> sound/soc/codecs/rpmsg_wm8960_i2c.c:153:1: warning: data definition has = no type or storage class 153 | module_i2c_driver(rpmsg_wm8960_i2c_driver); | ^~~~~~~~~~~~~~~~~ >> sound/soc/codecs/rpmsg_wm8960_i2c.c:153:1: error: type defaults to 'int'= in declaration of 'module_i2c_driver' [-Werror=3Dimplicit-int] >> sound/soc/codecs/rpmsg_wm8960_i2c.c:153:1: warning: parameter names (wit= hout types) in function declaration sound/soc/codecs/rpmsg_wm8960_i2c.c:143:26: warning: 'rpmsg_wm8960_i2c_d= river' defined but not used [-Wunused-variable] 143 | static struct i2c_driver rpmsg_wm8960_i2c_driver =3D { | ^~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors Kconfig warnings: (for reference only) WARNING: unmet direct dependencies detected for LOCKDEP Depends on DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT && (FRAME_POINTER || M= IPS || PPC || S390 || MICROBLAZE || ARM || ARC || X86) Selected by - DEBUG_LOCK_ALLOC && DEBUG_KERNEL && LOCK_DEBUGGING_SUPPORT vim +153 sound/soc/codecs/rpmsg_wm8960_i2c.c 152 = > 153 module_i2c_driver(rpmsg_wm8960_i2c_driver); --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org --===============9050079243765323221==--