Hi Enric,

[auto build test ERROR on battery/master]
[also build test ERROR on v4.5-rc3 next-20160208]
[if your patch is applied to the wrong git tree, please drop us a note to help 
improving the system]

url:    
https://github.com/0day-ci/linux/commits/Enric-Balletbo-i-Serra/Add-UCS1002-USB-Port-Power-Controller/20160126-171717
base:   git://git.infradead.org/battery-2.6.git master
config: x86_64-randconfig-a0-02081837 (attached as .config)
reproduce:
        # save the attached .config to linux build tree
        make ARCH=x86_64 

All error/warnings (new ones prefixed by >>):

warning: (POWER_UCS1002 && SND_SOC_ADAU1761_I2C && SND_SOC_ADAU1781_I2C && 
SND_SOC_ADAU1977_I2C && SND_SOC_RT5677 && EXTCON_MAX14577 && EXTCON_MAX77693 && 
EXTCON_MAX77843 && BMC150_ACCEL_I2C && BMG160_I2C) selects REGMAP_I2C which has 
unmet direct dependencies (I2C)
   drivers/base/regmap/regmap-i2c.c: In function 'regmap_smbus_byte_reg_read':
>> drivers/base/regmap/regmap-i2c.c:29:8: error: implicit declaration of 
>> function 'i2c_smbus_read_byte_data' [-Werror=implicit-function-declaration]
     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:47:9: error: implicit declaration of 
>> function 'i2c_smbus_write_byte_data' [-Werror=implicit-function-declaration]
     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:65:8: error: implicit declaration of 
>> function 'i2c_smbus_read_word_data' [-Werror=implicit-function-declaration]
     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:83:9: error: implicit declaration of 
>> function 'i2c_smbus_write_word_data' [-Werror=implicit-function-declaration]
     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:101:8: error: implicit declaration of 
>> function 'i2c_smbus_read_word_swapped' 
>> [-Werror=implicit-function-declaration]
     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:119:9: error: implicit declaration of 
>> function 'i2c_smbus_write_word_swapped' 
>> [-Werror=implicit-function-declaration]
     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:133:8: error: implicit declaration of 
>> function 'i2c_master_send' [-Werror=implicit-function-declaration]
     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:154:7: error: implicit declaration of 
>> function 'i2c_check_functionality' [-Werror=implicit-function-declaration]
     if (!i2c_check_functionality(i2c->adapter, I2C_FUNC_NOSTART))
          ^
>> drivers/base/regmap/regmap-i2c.c:167:8: error: implicit declaration of 
>> function 'i2c_transfer' [-Werror=implicit-function-declaration]
     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:224:9: error: implicit declaration of 
>> function 'i2c_smbus_write_i2c_block_data' 
>> [-Werror=implicit-function-declaration]
     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:241:8: error: implicit declaration of 
>> function 'i2c_smbus_read_i2c_block_data' 
>> [-Werror=implicit-function-declaration]
     ret = i2c_smbus_read_i2c_block_data(i2c, ((u8 *)reg)[0], val_size, val);
           ^
   cc1: some warnings being treated as errors
--
>> drivers/power/ucs1002_power.c:975:1: warning: data definition has no type or 
>> storage class
    module_i2c_driver(ucs1002_driver);
    ^
>> drivers/power/ucs1002_power.c:975:1: error: type defaults to 'int' in 
>> declaration of 'module_i2c_driver' [-Werror=implicit-int]
>> drivers/power/ucs1002_power.c:975:1: warning: parameter names (without 
>> types) in function declaration
>> drivers/power/ucs1002_power.c:966:26: warning: 'ucs1002_driver' defined but 
>> not used [-Wunused-variable]
    static struct i2c_driver ucs1002_driver = {
                             ^
   cc1: some warnings being treated as errors

vim +975 drivers/power/ucs1002_power.c

   960  static const struct i2c_device_id ucs1002_ids[] = {
   961          {"ucs1002", 0},
   962          { /* sentinel */ },
   963  };
   964  MODULE_DEVICE_TABLE(i2c, ucs1002_ids);
   965  
 > 966  static struct i2c_driver ucs1002_driver = {
   967          .driver = {
   968                     .name = "ucs1002",
   969                     .of_match_table = of_match_ptr(ucs1002_of_match),
   970          },
   971          .probe = ucs1002_probe,
   972          .remove = ucs1002_remove,
   973          .id_table = ucs1002_ids,
   974  };
 > 975  module_i2c_driver(ucs1002_driver);
   976  
   977  MODULE_DESCRIPTION("Microchip UCS1002 Programmable USB Port Power 
Controller");
   978  MODULE_AUTHOR("Enric Balletbo Serra <[email protected]>");

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: Binary data

Reply via email to