[cron,job] v4l-dvb daily build 2.6.22 and up: ERRORS, 2.6.16-2.6.21: WARNINGS
Commit Message
On Thu, Apr 9, 2009 at 2:10 AM, Hans Verkuil <hverkuil@xs4all.nl> wrote:
>
> Can someone take a look at these warnings and errors? Looking at the log
> these seem to be pretty easy to fix (compat stuff for the most part).
>
> I don't have the time for this for several more days, so I'd appreciate it
> if someone could take a look at this for me.
>
> Thanks,
>
> Hans
Well, i already posted about problems with compat.h and usb_endpoint_type.
The subject was "trouble with v4l-dvb compilation, compat.h:
redefinition of 'usb_endpoint_type". Here it is:
http://www.spinics.net/lists/linux-media/msg03965.html
I wish i know how to patch that thing right but i don't know that.
My cuurent workaroung for that is:
but as i i understand it's bad. If someone can repair it correctly it
will be cool.
@@ -392,11 +392,13 @@
}
#endif
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2, 6, 30)
#ifdef NEED_USB_ENDPOINT_TYPE
static inline int usb_endpoint_type(const struct usb_endpoint_descriptor *epd)
{
return epd->bmAttributes & USB_ENDPOINT_XFERTYPE_MASK;
}
+#endif
#endif
#endif /* __LINUX_USB_H */