2015-04-15 16:34:24

by Josh Boyer

[permalink] [raw]
Subject: i2c-davinci build failure with Linux v4.0-3843-gbb0fd7ab0986

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


2015-04-15 19:07:22

by Wolfram Sang

[permalink] [raw]
Subject: Re: i2c-davinci build failure with Linux v4.0-3843-gbb0fd7ab0986

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!


Attachments:
(No filename) (965.00 B)
signature.asc (819.00 B)
Digital signature
Download all attachments