This change was applied to 2.4, but not to 2.5.

 speedtch.c |    4 +---
 1 files changed, 1 insertion(+), 3 deletions(-)


diff -Nru a/drivers/usb/misc/speedtch.c b/drivers/usb/misc/speedtch.c
--- a/drivers/usb/misc/speedtch.c       Mon Sep 29 19:49:07 2003
+++ b/drivers/usb/misc/speedtch.c       Mon Sep 29 19:49:07 2003
@@ -1298,11 +1298,9 @@
 
 static int __init udsl_usb_init (void)
 {
-       struct sk_buff *skb; /* dummy for sizeof */
-
        dbg ("udsl_usb_init: driver version " DRIVER_VERSION);
 
-       if (sizeof (struct udsl_control) > sizeof (skb->cb)) {
+       if (sizeof (struct udsl_control) > sizeof (((struct sk_buff *)0)->cb)) {
                printk (KERN_ERR __FILE__ ": unusable with this kernel!\n");
                return -EIO;
        }


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to