Skip to contentSkip to conversation

USB rtl8150 bug

PATCH In review Rusty Russell 2 participants 2 messages Apr 10, 2002 USB

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 USB rtl8150 bug

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.

drivers/usb/net/rtl8150.c +1 -1
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
@@ -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.

#1 lore raw
Quoted 2 lines

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

It was fixed in my latest patch. I am sorry 64bit archs... :-)

Petko