Hi All,
The i2c-davinci driver failed to build as a module with Linus' latest
tree as of this morning. The error was:
ERROR: "i2c_generic_gpio_recovery" [drivers/i2c/busses/i2c-davinci.ko]
undefined!
ERROR: "i2c_generic_scl_recovery" [drivers/i2c/busses/i2c-davinci.ko] undefined!
ERROR: "i2c_recover_bus" [drivers/i2c/busses/i2c-davinci.ko] undefined!
scripts/Makefile.modpost:90: recipe for target '__modpost' failed
It looks like commit 2e65676f710e (i2c: davinci: use bus recovery
infrastructure) likely introduced this error. None of the i2c bus
recovery functions are exported from i2c-core.c that I can tell.
Was this commit tested as a modular build?
josh
[1] https://kojipkgs.fedoraproject.org//work/tasks/8758/9488758/build.log
On Wed, Apr 15, 2015 at 12:33:57PM -0400, Josh Boyer wrote:
> Hi All,
>
> The i2c-davinci driver failed to build as a module with Linus' latest
> tree as of this morning. The error was:
>
> ERROR: "i2c_generic_gpio_recovery" [drivers/i2c/busses/i2c-davinci.ko]
> undefined!
> ERROR: "i2c_generic_scl_recovery" [drivers/i2c/busses/i2c-davinci.ko] undefined!
> ERROR: "i2c_recover_bus" [drivers/i2c/busses/i2c-davinci.ko] undefined!
> scripts/Makefile.modpost:90: recipe for target '__modpost' failed
>
> It looks like commit 2e65676f710e (i2c: davinci: use bus recovery
> infrastructure) likely introduced this error. None of the i2c bus
> recovery functions are exported from i2c-core.c that I can tell.
>
> Was this commit tested as a modular build?
How embarassing. I meanwhile rely on the build-bots to do module
testing, but this failed here :( A patch was sent to -next a second ago
and I will send a pull-request to Linus ASAP. Thanks for the report!