tree:
https://chromium.googlesource.com/chromiumos/third_party/kernel chromeos-5.10
head: 897d19a44a08b18345f7a783fba4ce88bd71ecf4
commit: 2f8afd11581137930fbdc568aefa625425966780 [14654/15045] UPSTREAM: ASoC: Add
ADAU1372 audio CODEC support
config: openrisc-randconfig-m031-20210622 (attached as .config)
compiler: or1k-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
git remote add chrome-os
https://chromium.googlesource.com/chromiumos/third_party/kernel
git fetch --no-tags chrome-os chromeos-5.10
git checkout 2f8afd11581137930fbdc568aefa625425966780
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=openrisc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All error/warnings (new ones prefixed by >>):
drivers/base/regmap/regmap-i2c.c: In function 'regmap_smbus_byte_reg_read':
> drivers/base/regmap/regmap-i2c.c:25:8: error: implicit
declaration of function 'i2c_smbus_read_byte_data'
[-Werror=implicit-function-declaration]
25 | ret =
i2c_smbus_read_byte_data(i2c, reg);
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_smbus_byte_reg_write':
> drivers/base/regmap/regmap-i2c.c:43:9: error: implicit
declaration of function 'i2c_smbus_write_byte_data'
[-Werror=implicit-function-declaration]
43 | return
i2c_smbus_write_byte_data(i2c, reg, val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_smbus_word_reg_read':
> drivers/base/regmap/regmap-i2c.c:61:8: error: implicit
declaration of function 'i2c_smbus_read_word_data'
[-Werror=implicit-function-declaration]
61 | ret =
i2c_smbus_read_word_data(i2c, reg);
| ^~~~~~~~~~~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_smbus_word_reg_write':
> drivers/base/regmap/regmap-i2c.c:79:9: error: implicit
declaration of function 'i2c_smbus_write_word_data'
[-Werror=implicit-function-declaration]
79 | return
i2c_smbus_write_word_data(i2c, reg, val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function
'regmap_smbus_word_read_swapped':
> drivers/base/regmap/regmap-i2c.c:97:8: error: implicit
declaration of function 'i2c_smbus_read_word_swapped'
[-Werror=implicit-function-declaration]
97 | ret =
i2c_smbus_read_word_swapped(i2c, reg);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function
'regmap_smbus_word_write_swapped':
> drivers/base/regmap/regmap-i2c.c:115:9: error: implicit
declaration of function 'i2c_smbus_write_word_swapped'
[-Werror=implicit-function-declaration]
115 | return
i2c_smbus_write_word_swapped(i2c, reg, val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_i2c_write':
> drivers/base/regmap/regmap-i2c.c:129:8: error: implicit
declaration of function 'i2c_master_send' [-Werror=implicit-function-declaration]
129 | ret = i2c_master_send(i2c, data, count);
| ^~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_i2c_gather_write':
> drivers/base/regmap/regmap-i2c.c:150:7: error: implicit
declaration of function 'i2c_check_functionality'
[-Werror=implicit-function-declaration]
150 | if
(!i2c_check_functionality(i2c->adapter, I2C_FUNC_NOSTART))
| ^~~~~~~~~~~~~~~~~~~~~~~
> drivers/base/regmap/regmap-i2c.c:163:8: error: implicit
declaration of function 'i2c_transfer' [-Werror=implicit-function-declaration]
163 | ret = i2c_transfer(i2c->adapter, xfer, 2);
| ^~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_i2c_smbus_i2c_write':
> drivers/base/regmap/regmap-i2c.c:218:9: error: implicit
declaration of function 'i2c_smbus_write_i2c_block_data'
[-Werror=implicit-function-declaration]
218 | return
i2c_smbus_write_i2c_block_data(i2c, ((u8 *)data)[0], count,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function 'regmap_i2c_smbus_i2c_read':
> drivers/base/regmap/regmap-i2c.c:233:8: error: implicit
declaration of function 'i2c_smbus_read_i2c_block_data'
[-Werror=implicit-function-declaration]
233 | ret =
i2c_smbus_read_i2c_block_data(i2c, ((u8 *)reg)[0], val_size, val);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
drivers/base/regmap/regmap-i2c.c: In function
'regmap_i2c_smbus_i2c_read_reg16':
> drivers/base/regmap/regmap-i2c.c:282:9: error: implicit
declaration of function 'i2c_smbus_read_byte'
[-Werror=implicit-function-declaration]
282 | ret =
i2c_smbus_read_byte(i2c);
| ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
--
> sound/soc/codecs/adau1372-i2c.c:36:1: warning: data definition
has no type or storage class
36 | module_i2c_driver(adau1372_i2c_driver);
| ^~~~~~~~~~~~~~~~~
> sound/soc/codecs/adau1372-i2c.c:36:1: error: type defaults to
'int' in declaration of 'module_i2c_driver' [-Werror=implicit-int]
> sound/soc/codecs/adau1372-i2c.c:36:1: warning: parameter names (without types) in
function declaration
sound/soc/codecs/adau1372-i2c.c:29:26: warning:
'adau1372_i2c_driver' defined but not used [-Wunused-variable]
29 | static struct i2c_driver adau1372_i2c_driver = {
| ^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
Kconfig warnings: (for reference only)
WARNING: unmet direct dependencies detected for REGMAP_I2C
Depends on I2C
Selected by
- SND_SOC_ADAU1372_I2C && SOUND && !UML && SND &&
SND_SOC
WARNING: unmet direct dependencies detected for REGMAP_SPI
Depends on SPI
Selected by
- SND_SOC_ADAU1372_SPI && SOUND && !UML && SND &&
SND_SOC
vim +36 sound/soc/codecs/adau1372-i2c.c
28
29 static struct i2c_driver adau1372_i2c_driver = {
30 .driver = {
31 .name = "adau1372",
32 },
33 .probe = adau1372_i2c_probe,
34 .id_table = adau1372_i2c_ids,
35 };
36 module_i2c_driver(adau1372_i2c_driver);
37
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org