Re: [PATCH 1/2] USB: make hub.h, hcd.h public (drivers dependency),linux-2.6.34-rc5

From: Randy Dunlap
Date: Sat Apr 24 2010 - 12:32:39 EST


On Sat, 24 Apr 2010 18:18:00 +0200 Eric Lescouet wrote:

> On 04/24/2010 05:49 PM, Greg KH wrote:
> > On Sat, Apr 24, 2010 at 08:35:01AM -0700, Greg KH wrote:
> >> On Sat, Apr 24, 2010 at 05:08:33PM +0200, Eric Lescouet wrote:
> >>> The usbcore headers:hcd.h and hub.h are shared between usbcore,
> >>> HCDs and a couple of other drivers (e.g. USBIP modules).
> >>> So, it makes sense to move them into a more public location and
> >>> to cleanup dependency of those modules on kernel internal headers.
> >>> Both are moved into include/linux/usb/
> >>
> >> Just move one at a time. Patches should do one thing only. So this
> >> should be at least 2 patches.
> >>
> >> And I thought you were going to rename hub.h to ch11.h instead?
> >
> > Oops, I now see patch 2 :)
> >
> > Anyway, how about 3 patches here? Your last one is fine, but make the
> > first one into 2 different ones? One that does hcd.h and then one that
> > does hub.h.
>
> Why not... ;-)
>
> Since I'll do it again, I could use 2.6.34-rc5-git5, as per your request.
> I was not so sure how to get the full source for the snapshot...
> Should I apply 2.6.34-rc5-git5 patch onto 2.6.34-rc5 tree ?

Yes, that's correct.
(explained in Documentation/applying-patches.txt)

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***
--
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/