[opensuse-kernel] [PATCH v2 0/2] Fix dependency loop in tusb6010
From: "Matwey V. Kornilov"
At Mon, 02 Jun 2014 19:40:54 +0400, matwey.kornilov@gmail.com wrote:
From: "Matwey V. Kornilov"
Subject: Fix dependency loop in tusb6010 With the following configure options, musb_hdrc and tusb6010 make dependency loop:
CONFIG_USB_MUSB_HDRC=m CONFIG_USB_MUSB_TUSB6010=m CONFIG_USB_TUSB_OMAP_DMA=y
tusb6010.ko provides function `tusb_get_revision` which is used by tusb6010_omap.o which is a part of musb_hdrc.ko
In its turn, tusb6010.ko uses much of functions provided by musb_hdrc.ko
The following patches are to solve the issue.
openSUSE 13.2 and 13.1 are affected by this issue. However, consequences are different. For openSUSE 13.1 it is just impossible to load musb_hdrc.ko or its dependents. In openSUSE 13.2, kmod package is used instead of module-tools. Now, kmod's depmod behaviour (see bnc#872715) is to fail at loop detection. The dependency loop will lead to broken build as soon as up-to-date kmod will be pushed into Factory.
Only armv7 seems to be affected by the issue.
Signed-off-by: Matwey V. Kornilov
References: bnc#872715 Signed-off-by: Matwey V. Kornilov
Thanks, now applied these patches to master and openSUSE-13.1 branches. I had to modify the patch to apply cleanly on them. Also, for openSUSE-13.1, an additional kABI fix patch is needed, so I put it on its top. Takashi -- To unsubscribe, e-mail: opensuse-kernel+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-kernel+owner@opensuse.org
participants (2)
-
matwey.kornilov@gmail.com
-
Takashi Iwai