ChangeSet 1.1500.8.4, 2004/01/29 16:05:03-08:00, [EMAIL PROTECTED]

[PATCH] USB: gcc-3.5: drivers/usb/storage/usb.c

drivers/usb/storage/usb.c: In function `usb_stor_release_resources':
drivers/usb/storage/usb.c:837: error: invalid lvalue in assignment


 drivers/usb/storage/usb.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/drivers/usb/storage/usb.c b/drivers/usb/storage/usb.c
--- a/drivers/usb/storage/usb.c Mon Feb  9 14:42:33 2004
+++ b/drivers/usb/storage/usb.c Mon Feb  9 14:42:33 2004
@@ -834,7 +834,7 @@
 
        /* Finish the SCSI host removal sequence */
        if (us->host) {
-               (struct us_data *) us->host->hostdata[0] = NULL;
+               us->host->hostdata[0] = 0;
                scsi_host_put(us->host);
        }
 



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to