lkml.org 
[lkml]   [2008]   [Oct]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PATCH] USB patches for 2.6-git
On Fri, Oct 17, 2008 at 04:00:11PM -0700, Greg KH wrote:
> On Fri, Oct 17, 2008 at 03:47:58PM -0700, Linus Torvalds wrote:
> >
> >
> > On Fri, 17 Oct 2008, Greg KH wrote:
> > >
> > > Here is the big batch of USB patches for your 2.6-git tree.
> >
> > I really wish I were to get the occasional _clean_ pull for a change.
> >
> > f*ck me, but why do people keep adding more and more warnings, and
> > apparently not even bother to write clean code? The merge window is no
> > excuse for badly written crap.
> >
> > drivers/usb/host/ehci-hcd.c: In function ‘ehci_hcd_init’:
> > drivers/usb/host/ehci-hcd.c:1115: warning: label ‘err_debug’ defined but not used
>
> Why am I not seeing that warning here?
>
> ah, because I have debugging for USB enabled in my configuration, sorry
> about that, I should have caught that. That's the problem with doing a
> 'make allyesconfig' as a test build, I need to make it random at times
> to catch things like this.

In looking at that file closer, I can just remove all of the #ifdef
DEBUG options there, as there is no problem with them being always
built. The rest of the #ifdef mess in there is due to platform/hardware
configurations trying to share a common EHCI core.

thanks,

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

\
 
 \ /
  Last update: 2008-10-18 01:19    [W:0.053 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site