lkml.org 
[lkml]   [2002]   [Apr]   [10]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
FromRusty Russell <>
Subject[PATCH] USB rtl8150 bug
DateWed, 10 Apr 2002 23:48:17 +1000
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/

\
 
 \ /
  Last update: 2005-03-22 13:22    [from the cache]
©2003-2008