Commit b2bc6be6 authored by Matthew Dharm's avatar Matthew Dharm Committed by Greg Kroah-Hartman

[PATCH] USB storage: minor compilation fixes

This patch fixes up some minor compilation problems.
parent 63c651e4
...@@ -1271,7 +1271,7 @@ int isd200_get_inquiry_data( struct us_data *us ) ...@@ -1271,7 +1271,7 @@ int isd200_get_inquiry_data( struct us_data *us )
/* ATA Command Identify successful */ /* ATA Command Identify successful */
int i; int i;
__u16 *src, *dest; __u16 *src, *dest;
ata_fix_driveid(&info->drive); ide_fix_driveid(&info->drive);
US_DEBUGP(" Identify Data Structure:\n"); US_DEBUGP(" Identify Data Structure:\n");
US_DEBUGP(" config = 0x%x\n", info->drive.config); US_DEBUGP(" config = 0x%x\n", info->drive.config);
......
...@@ -349,8 +349,8 @@ unsigned int usb_stor_transfer_length(Scsi_Cmnd *srb) ...@@ -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. * all the complex logic above, let's find them and eliminate them.
*/ */
if (len != srb->request_bufflen) { if (len != srb->request_bufflen) {
printk("USB len=%d, request_bufflen=%d\n", len, srb->request_bufflen); printk(KERN_ERR "USB len=%d, request_bufflen=%d\n", len, srb->request_bufflen);
show_trace(NULL); printk(KERN_ERR "Fix this -- future 2.5 kernels will not work if this is not fixed!\n");
} }
return len; return len;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment