All of lore.kernel.org
 help / color / mirror / Atom feed
* [freescale-fslc:5.4-2.3.x-imx 14409/18037] sound/soc/codecs/rpmsg_wm8960_i2c.c:153:1: error: type defaults to 'int' in declaration of 'module_i2c_driver'
@ 2021-04-08 19:28 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-04-08 19:28 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2094 bytes --]

tree:   https://github.com/Freescale/linux-fslc 5.4-2.3.x-imx
head:   0b75fb32ce4bed3f44bd0e2e78c4f08521fac3c8
commit: a67139eb8d9bae8fd86fbf1ab05ad2fd2ec2ca9c [14409/18037] MA-17787 ASoC: rpmsg_wm8960: Separate i2c driver to individual file
config: mips-randconfig-r025-20210408 (attached as .config)
compiler: mips64el-linux-gcc (GCC) 9.3.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/a67139eb8d9bae8fd86fbf1ab05ad2fd2ec2ca9c
        git remote add freescale-fslc https://github.com/Freescale/linux-fslc
        git fetch --no-tags freescale-fslc 5.4-2.3.x-imx
        git checkout a67139eb8d9bae8fd86fbf1ab05ad2fd2ec2ca9c
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=mips 

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


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

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 25580 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-04-08 19:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-08 19:28 [freescale-fslc:5.4-2.3.x-imx 14409/18037] 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.