Skip to contentSkip to conversation

linux-next: build failure after merge of the i2c tree

DISCUSSION Stephen Rothwell 2 participants 2 messages Jun 26, 2017 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Wolfram,

After merging the i2c tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/i2c/busses/i2c-zx2967.c: In function 'zx2967_i2c_writesb':
drivers/i2c/busses/i2c-zx2967.c:87:2: error: implicit declaration of function 'writesb' [-Werror=implicit-function-declaration]
writesb(i2c->reg_base + reg, data, len);
^
drivers/i2c/busses/i2c-zx2967.c: In function 'zx2967_i2c_readsb':
drivers/i2c/busses/i2c-zx2967.c:93:2: error: implicit declaration of function 'readsb' [-Werror=implicit-function-declaration]
readsb(i2c->reg_base + reg, data, len);
^

Caused by commit

9615a01f71ca ("i2c: zx2967: add i2c controller driver for ZTE's zx2967 family")

Forgotten some include file, presumably. And COMPILE_TEST may have been a bit hopeful :-)

I have used the i2c tree from next-20170623 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

Hi Stephen,

Quoted 14 lines · Stephen Rothwell

Hi Wolfram,

After merging the i2c tree, today's linux-next build (x86_64 allmodconfig) failed like this:

drivers/i2c/busses/i2c-zx2967.c: In function 'zx2967_i2c_writesb':
drivers/i2c/busses/i2c-zx2967.c:87:2: error: implicit declaration of function 'writesb' [-Werror=implicit-function-declaration]
writesb(i2c->reg_base + reg, data, len);
^
drivers/i2c/busses/i2c-zx2967.c: In function 'zx2967_i2c_readsb':
drivers/i2c/busses/i2c-zx2967.c:93:2: error: implicit declaration of function 'readsb' [-Werror=implicit-function-declaration]
readsb(i2c->reg_base + reg, data, len);
^

Quoted 6 lines

Caused by commit

9615a01f71ca ("i2c: zx2967: add i2c controller driver for ZTE's zx2967 family")

Forgotten some include file, presumably. And COMPILE_TEST may have been a bit hopeful :-)

Thanks for reporting it. I have sent a fix [1] for it yesterday, which hopefully will be applied soon.

Shawn

[1] https://patchwork.ozlabs.org/patch/780357/