* patch for linux/usb.h
@ 2002-10-18 21:25 Wiktor Wodecki
2002-10-18 21:35 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Wiktor Wodecki @ 2002-10-18 21:25 UTC (permalink / raw)
To: linux-kernel
[-- Attachment #1: Type: text/plain, Size: 100 bytes --]
hi there,
missing urb_t typedef
--
Regards,
Wiktor Wodecki | http://johoho.eggheads.org
[-- Attachment #2: usb_patch --]
[-- Type: text/plain, Size: 446 bytes --]
diff -bur linux/include/linux/usb.h linux-2.4.20-pre9.kirk/include/linux/usb.h
--- linux/include/linux/usb.h 2002-10-18 22:56:49.000000000 +0200
+++ linux-2.4.20-pre9.kirk/include/linux/usb.h 2002-10-18 23:15:35.000000000 +0200
@@ -525,7 +525,7 @@
usb_complete_t complete; // pointer to completion routine
//
struct iso_packet_descriptor iso_frame_desc[0];
+} urb_t;
-};
/**
* FILL_CONTROL_URB - macro to help initialize a control urb
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: patch for linux/usb.h
2002-10-18 21:25 patch for linux/usb.h Wiktor Wodecki
@ 2002-10-18 21:35 ` Greg KH
2002-10-18 21:45 ` Wiktor Wodecki
0 siblings, 1 reply; 4+ messages in thread
From: Greg KH @ 2002-10-18 21:35 UTC (permalink / raw)
To: Wiktor Wodecki; +Cc: linux-kernel
On Fri, Oct 18, 2002 at 11:25:32PM +0200, Wiktor Wodecki wrote:
> +} urb_t;
> -};
Heh, you're kidding me, right?
No, that's not "missing" it was taken out because it should have never
gotten there in the first place.
thanks,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: patch for linux/usb.h
2002-10-18 21:35 ` Greg KH
@ 2002-10-18 21:45 ` Wiktor Wodecki
2002-10-18 21:51 ` Greg KH
0 siblings, 1 reply; 4+ messages in thread
From: Wiktor Wodecki @ 2002-10-18 21:45 UTC (permalink / raw)
To: linux-kernel; +Cc: greg
> > +} urb_t;
> > -};
>
> No, that's not "missing" it was taken out because it should have never
> gotten there in the first place.
hmmm, it might "not be a good thing" to change an interface in a stable
kernel series. this, for example, broke my quickcam express video cam
driver. It might be wrong there, however I think we should leave it
there...not apply this to 2.5 then
--
Regards,
Wiktor Wodecki | http://johoho.eggheads.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: patch for linux/usb.h
2002-10-18 21:45 ` Wiktor Wodecki
@ 2002-10-18 21:51 ` Greg KH
0 siblings, 0 replies; 4+ messages in thread
From: Greg KH @ 2002-10-18 21:51 UTC (permalink / raw)
To: Wiktor Wodecki; +Cc: linux-kernel
On Fri, Oct 18, 2002 at 11:45:19PM +0200, Wiktor Wodecki wrote:
> > > +} urb_t;
> > > -};
> >
> > No, that's not "missing" it was taken out because it should have never
> > gotten there in the first place.
>
> hmmm, it might "not be a good thing" to change an interface in a stable
> kernel series. this, for example, broke my quickcam express video cam
> driver. It might be wrong there, however I think we should leave it
> there...not apply this to 2.5 then
Sorry, but I fixed up all in-kernel instances of this usage. If you
want to keep a driver outside of the main kernel tree, you're going to
have to get used to things like this. In fact, this is a very minor
change, wait until some of the other USB API changes that have happened
in 2.5 get backported to 2.4 :)
Good luck,
greg k-h
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-10-18 21:46 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-18 21:25 patch for linux/usb.h Wiktor Wodecki
2002-10-18 21:35 ` Greg KH
2002-10-18 21:45 ` Wiktor Wodecki
2002-10-18 21:51 ` Greg KH
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.