* [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'
@ 2022-02-04 1:31 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-02-04 1:31 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 2535 bytes --]
tree: https://github.com/Freescale/linux-fslc 5.10-2.1.x-imx
head: 185a13076e02ee241bc1149b90f0fed051bf2649
commit: 86f468b84e88b97869e7a1150dd6c598d318566d [4738/9999] LF-4175-4: ASoC: rpmsg_wm8960: add rpmsg_wm8960 codec
config: xtensa-randconfig-c003-20220201 (https://download.01.org/0day-ci/archive/20220204/202202040833.p2UtPwMu-lkp(a)intel.com/config)
compiler: xtensa-linux-gcc (GCC) 11.2.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/Freescale/linux-fslc/commit/86f468b84e88b97869e7a1150dd6c598d318566d
git remote add freescale-fslc https://github.com/Freescale/linux-fslc
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=$HOME/0day COMPILER=gcc-11.2.0 make.cross O=build_dir ARCH=xtensa SHELL=/bin/bash sound/soc/codecs/
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
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=implicit-int]
>> sound/soc/codecs/rpmsg_wm8960_i2c.c:153:1: warning: parameter names (without types) in function declaration
sound/soc/codecs/rpmsg_wm8960_i2c.c:143:26: warning: 'rpmsg_wm8960_i2c_driver' defined but not used [-Wunused-variable]
143 | static struct i2c_driver rpmsg_wm8960_i2c_driver = {
| ^~~~~~~~~~~~~~~~~~~~~~~
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 || MIPS || 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-04 1:31 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-04 1:31 [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' kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.