[PATCH] USB rtl8150 bug

From: Rusty Russell (rusty@rustcorp.com.au)
Date: Wed Apr 10 2002 - 08:48:17 EST


Name: Bitops rtl8150 USB fix.
Author: Rusty Russell
Status: Trivial

D: This changes struct rtl8150's flags element to be an unsigned long,
D: since bitops are done on it.

diff -urN -I \$.*\$ --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal linux-2.5.8-pre3/drivers/usb/net/rtl8150.c tmp/drivers/usb/net/rtl8150.c
--- linux-2.5.8-pre3/drivers/usb/net/rtl8150.c Wed Apr 10 21:47:51 2002
+++ tmp/drivers/usb/net/rtl8150.c Wed Apr 10 23:26:37 2002
@@ -83,7 +83,7 @@
 
 
 struct rtl8150 {
- unsigned int flags;
+ unsigned long flags;
         struct usb_device *udev;
         struct usb_interface *interface;
         struct semaphore sem;

--
  Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
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/



This archive was generated by hypermail 2b29 : Mon Apr 15 2002 - 22:00:15 EST