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

From: Henrik Rydberg
Date: Tue Jul 03 2012 - 03:10:42 EST


On Tue, Jul 03, 2012 at 02:49:54PM +0800, Fengguang Wu wrote:
> On Tue, Jul 03, 2012 at 08:44:07AM +0200, Henrik Rydberg wrote:
> > 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.
>
> Henrik, I'm testing on today's linux-next.

Ah, yes, I see it. The problem is also present in Jiri's for-next
tree. Jiri: the manual merge of drivers/hid/Kconfig seems to have gone
wrong; in particular, the source of the usbhid config is inside the
"if HID" statement, which creates the problem seen by Fengguang.

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/