Extcon build failure in next
Tony Lindgren
tony at atomide.com
Wed Jun 29 22:41:13 PDT 2016
* Tony Lindgren <tony at atomide.com> [160629 22:41]:
> Hi Chanwoo,
>
> Looks like current Linux next fails to build with at least
> omap2plus_defconfig because of:
>
> ERROR: "extcon_dev_allocate" [drivers/extcon/devres.ko] undefined!
> scripts/Makefile.modpost:91: recipe for target '__modpost' failed
> make[1]: *** [__modpost] Error 1
> Makefile:1163: recipe for target 'modules' failed
> make: *** [modules] Error 2
> Kernel build failed
>
> Probably extcon_dev_allocate just needs EXPORT_SYMBOL_GPL?
Also I'm seeing:
drivers/extcon/extcon.c: In function 'extcon_register_notifier':
drivers/extcon/extcon.c:455:6: warning: 'idx' may be used uninitialized in this function [-Wmaybe-uninitialized]
if (idx >= 0) {
^
Regards,
Tony
More information about the linux-arm-kernel
mailing list