# This is a BitKeeper generated patch for the following project: # Project Name: Linux kernel tree # This patch format is intended for GNU patch command version 2.5 or higher. # This patch includes the following deltas: # ChangeSet 1.564.2.3 -> 1.564.2.4 # drivers/usb/storage/transport.c 1.32 -> 1.33 # drivers/usb/storage/isd200.c 1.15 -> 1.16 # # The following is the BitKeeper ChangeSet Log # -------------------------------------------- # 02/09/16 mdharm-usb@one-eyed-alien.net 1.564.2.4 # [PATCH] USB storage: minor compilation fixes # # This patch fixes up some minor compilation problems. # -------------------------------------------- # diff -Nru a/drivers/usb/storage/isd200.c b/drivers/usb/storage/isd200.c --- a/drivers/usb/storage/isd200.c Mon Sep 16 15:01:02 2002 +++ b/drivers/usb/storage/isd200.c Mon Sep 16 15:01:02 2002 @@ -1271,7 +1271,7 @@ /* 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); diff -Nru a/drivers/usb/storage/transport.c b/drivers/usb/storage/transport.c --- a/drivers/usb/storage/transport.c Mon Sep 16 15:01:02 2002 +++ b/drivers/usb/storage/transport.c Mon Sep 16 15:01:02 2002 @@ -349,8 +349,8 @@ * 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;