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

From: Jiri Kosina
Date: Tue Jul 03 2012 - 05:20:59 EST


On Tue, 3 Jul 2012, Henrik Rydberg wrote:

> > > > 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.

Indeed, I messed up the conflict resolution. I have pushed the new
for-next branch with proper resolution now.

Thanks,

--
Jiri Kosina
SUSE Labs
--
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/