From: kernel test robot <lkp@intel.com>
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 [thread overview]
Message-ID: <202202040833.p2UtPwMu-lkp@intel.com> (raw)
[-- 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
reply other threads:[~2022-02-04 1:31 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202202040833.p2UtPwMu-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.