Re: hid/Kconfig:7:error: recursive dependency detected!

From: Henrik Rydberg
Date: Tue Jul 03 2012 - 02:44:19 EST


Hi Fengguang,

> I got this error while doing randconfig test:
>
> drivers/hid/Kconfig:7:error: recursive dependency detected!
> drivers/hid/Kconfig:7: symbol HID is selected by USB_HID
> drivers/hid/usbhid/Kconfig:4: symbol USB_HID depends on HID

What kernel tree does this apply to? Reading through the code again
and testing your configuration, I cannot reproduce the
problem. Indeed, in my tree, USB_HID does not depend on HID.

For completeness, here are all the HID-related options in your attached file:

# CONFIG_BT_HIDP is not set
# HID support
CONFIG_HID=m
# CONFIG_HIDRAW is not set
# CONFIG_UHID is not set
# USB HID support
# CONFIG_USB_HID is not set
CONFIG_HID_PID=y
# USB HID Boot Protocol drivers
# Special HID drivers
CONFIG_HID_GENERIC=m
# USB HID support
# USB HID Boot Protocol drivers
CONFIG_USB_G_HID=m

Thanks,
Henrik
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/