I think we do not use more than 1 element of host->hostdata[].
Perhaps we copied our structure before?

--- linux-2.4.2-0.1.16/drivers/usb/storage/scsiglue.c   Wed Feb 28 13:04:51 2001+++ 
linux-2.4.2-0.1.16-p3/drivers/usb/storage/scsiglue.c        Sat Mar 10 15:15:33 2001
@@ -91,7 +91,7 @@
        sht->proc_dir = NULL;
 
        /* register the host */
-       us->host = scsi_register(sht, sizeof(us));
+       us->host = scsi_register(sht, sizeof(unsigned long));
        if (us->host) {
                us->host->hostdata[0] = (unsigned long)us;
                us->host_no = us->host->host_no;

-- Pete

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to