Messages in this thread | | | Subject | Re: drivers/gpu/drm/bridge/sil-sii8620.c:2405: undefined reference to `extcon_unregister_notifier' | From | Randy Dunlap <> | Date | Mon, 30 Apr 2018 11:23:05 -0700 |
| |
On 04/28/2018 08:15 PM, kbuild test robot wrote: > Hi Maciej, > > FYI, the error/warning still remains. > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master > head: 19b9ad67310ed2f685062a00aec602bec33835f0 > commit: 688838442147d9dd94c2ef7c2c31a35cf150c5fa drm/bridge/sii8620: use micro-USB cable detection logic to detect MHL > date: 7 weeks ago > config: x86_64-randconfig-s4-04290805 (attached as .config) > compiler: gcc-7 (Debian 7.3.0-16) 7.3.0 > reproduce: > git checkout 688838442147d9dd94c2ef7c2c31a35cf150c5fa > # save the attached .config to linux build tree > make ARCH=x86_64 > > All errors (new ones prefixed by >>): > > drivers/gpu/drm/bridge/sil-sii8620.o: In function `sii8620_remove': >>> drivers/gpu/drm/bridge/sil-sii8620.c:2405: undefined reference to `extcon_unregister_notifier' > drivers/gpu/drm/bridge/sil-sii8620.o: In function `sii8620_extcon_init': >>> drivers/gpu/drm/bridge/sil-sii8620.c:2229: undefined reference to `extcon_find_edev_by_node' >>> drivers/gpu/drm/bridge/sil-sii8620.c:2241: undefined reference to `extcon_register_notifier' > drivers/gpu/drm/bridge/sil-sii8620.o: In function `sii8620_extcon_work': >>> drivers/gpu/drm/bridge/sil-sii8620.c:2189: undefined reference to `extcon_get_state'
The correct fix for this IMO is: config DRM_SIL_SII8620 ... depends on EXTCON || !EXTCON
but doing that causes kconfig-recursive-dependency-hell-messy-spaghetti. OTOH, doing: select EXTCON does not cause any kconfig recursive dependency issues and solves the build errors.
-- ~Randy
| |