2015-02-27 16:30:42

by Jim Davis

[permalink] [raw]
Subject: randconfig build error with next-20150227, in drivers/rtc/rtc-abx805.c

Building with the attached random configuration file,

drivers/rtc/rtc-abx805.c: In function 'abx805_read_multiple_regs':
drivers/rtc/rtc-abx805.c:55:2: error: implicit declaration of function
'i2c_transfer' [-Werror=implicit-function-declaration]
if ((i2c_transfer(client->adapter, &msgs[0], 2)) != 2) {
^
drivers/rtc/rtc-abx805.c: In function 'abx805_probe':
drivers/rtc/rtc-abx805.c:171:2: error: implicit declaration of
function 'i2c_check_functionality'
[-Werror=implicit-function-declaration]
if (!i2c_check_functionality(client->adapter, I2C_FUNC_I2C))
^
drivers/rtc/rtc-abx805.c: At top level:
drivers/rtc/rtc-abx805.c:219:1: warning: data definition has no type
or storage class
module_i2c_driver(abx805_driver);
^
drivers/rtc/rtc-abx805.c:219:1: error: type defaults to 'int' in
declaration of 'module_i2c_driver' [-Werror=implicit-int]
drivers/rtc/rtc-abx805.c:219:1: warning: parameter names (without
types) in function declaration
CC net/mac80211/agg-rx.o
cc1: some warnings being treated as errors


Attachments:
randconfig-1425038448.txt (67.11 kB)