[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091012150037.GA14004@elte.hu>
Date: Mon, 12 Oct 2009 17:00:37 +0200
From: Ingo Molnar <mingo@...e.hu>
To: Mike Frysinger <vapier.adi@...il.com>
Cc: Greg KH <gregkh@...e.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [origin tree build failure] [PATCH] Revert "USB: musb: make
HAVE_CLK support optional"
* Mike Frysinger <vapier.adi@...il.com> wrote:
> On Mon, Oct 12, 2009 at 10:29, Greg KH wrote:
> > On Mon, Oct 12, 2009 at 09:05:57AM -0400, Mike Frysinger wrote:
> >> On Mon, Oct 12, 2009 at 03:42, Ingo Molnar wrote:
> >> >
> >> > * Linus Torvalds <torvalds@...ux-foundation.org> wrote:
> >> >
> >> >> As usual, please test this for regressions, both new and old.
> >> >
> >> >> USB: musb: make HAVE_CLK support optional
> >> >
> >> > This USB/Blackfin commit broke the x86 build with these config options:
> >> >
> >> > CONFIG_USB_MUSB_HDRC=y
> >> > CONFIG_USB_MUSB_HOST=y
> >> > # CONFIG_USB_MUSB_PERIPHERAL is not set
> >> > # CONFIG_USB_MUSB_OTG is not set
> >> > # CONFIG_USB_GADGET_MUSB_HDRC is not set
> >> > CONFIG_USB_MUSB_HDRC_HCD=y
> >> > CONFIG_MUSB_PIO_ONLY=y
> >> > CONFIG_USB_MUSB_DEBUG=y
> >> >
> >> > Because a side-effect of the patch was that it enabled the driver on x86
> >> > too which doesnt have HAVE_CLK. So this formerly embedded-only driver
> >> > got exposed on the more widely tested x86 platform.
> >>
> >> this is dumb. you're addressing unrealistic scenarios (randconfig) by
> >> reverting code for realistic scenarios. how about updating the
> >> already present arch depend string instead.
> >
> > We want 'randconfig' to work, so this is not unrealistic. Have you not
> > seen Randy Dunlap's zillion patches to get this to all work properly
> > over the past months?
>
> i'm not suggesting it not be fixed, i'm suggested it be *fixed*
> instead of blindly reverted.
Sure, i'd agree with that if we were in the merge window. The thing is,
-rc4 is not the time to do patches that need fixes. It is to fix
regressions. I dont think this commit applies as a regression fix, does
it? It _introduces_ a regression.
So a revert is a proper first-level response to this and i fail to
understand your surprise about that. A fix is nice too, of course, if
it's simple enough.
Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists