]> git.hungrycats.org Git - linux/commitdiff
[PATCH] USB storage: minor compilation fixes
authorMatthew Dharm <mdharm-usb@one-eyed-alien.net>
Mon, 16 Sep 2002 03:31:22 +0000 (20:31 -0700)
committerGreg Kroah-Hartman <greg@kroah.com>
Mon, 16 Sep 2002 03:31:22 +0000 (20:31 -0700)
This patch fixes up some minor compilation problems.

drivers/usb/storage/isd200.c
drivers/usb/storage/transport.c

index 73da470302f7644af6dce5c561ccc82d94259b57..b83ccbd17e9ea752aa0c10171a048f17f225c4b1 100644 (file)
@@ -1271,7 +1271,7 @@ int isd200_get_inquiry_data( struct us_data *us )
                                /* ATA Command Identify successful */
                                int i;
                                __u16 *src, *dest;
-                               ata_fix_driveid(&info->drive);
+                               ide_fix_driveid(&info->drive);
 
                                US_DEBUGP("   Identify Data Structure:\n");
                                US_DEBUGP("      config = 0x%x\n", info->drive.config);
index a5a852c6be8408df17a78dfc1e322d28bc1a8491..976959105934add0f1183ae6dc60cf5737dd7ec6 100644 (file)
@@ -349,8 +349,8 @@ unsigned int usb_stor_transfer_length(Scsi_Cmnd *srb)
         * all the complex logic above, let's find them and eliminate them.
         */
        if (len != srb->request_bufflen) {
-               printk("USB len=%d, request_bufflen=%d\n", len, srb->request_bufflen);
-               show_trace(NULL);
+               printk(KERN_ERR "USB len=%d, request_bufflen=%d\n", len, srb->request_bufflen);
+               printk(KERN_ERR "Fix this -- future 2.5 kernels will not work if this is not fixed!\n");
        }
 
        return len;