usb: storage: freecom: Fixed several coding style issues.
Fixed several coding style issues in freecom.c. Signed-off-by: Martin Enderleit <menderleit@gmail.com> Cc: Matthew Dharm <mdharm-usb@one-eyed-alien.net> Cc: Daniel Mack <daniel@caiaq.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
8ca47c8a76
commit
7c7e2d0043
@@ -414,7 +414,7 @@ static int freecom_transport(struct scsi_cmnd *srb, struct us_data *us)
|
|||||||
/* should never hit here -- filtered in usb.c */
|
/* should never hit here -- filtered in usb.c */
|
||||||
US_DEBUGP ("freecom unimplemented direction: %d\n",
|
US_DEBUGP ("freecom unimplemented direction: %d\n",
|
||||||
us->srb->sc_data_direction);
|
us->srb->sc_data_direction);
|
||||||
// Return fail, SCSI seems to handle this better.
|
/* Return fail, SCSI seems to handle this better. */
|
||||||
return USB_STOR_TRANSPORT_FAILED;
|
return USB_STOR_TRANSPORT_FAILED;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -494,8 +494,7 @@ static void pdump (void *ibuffer, int length)
|
|||||||
offset = 0;
|
offset = 0;
|
||||||
}
|
}
|
||||||
offset += sprintf (line+offset, "%08x:", i);
|
offset += sprintf (line+offset, "%08x:", i);
|
||||||
}
|
} else if ((i & 7) == 0) {
|
||||||
else if ((i & 7) == 0) {
|
|
||||||
offset += sprintf (line+offset, " -");
|
offset += sprintf (line+offset, " -");
|
||||||
}
|
}
|
||||||
offset += sprintf (line+offset, " %02x", buffer[i] & 0xff);
|
offset += sprintf (line+offset, " %02x", buffer[i] & 0xff);
|
||||||
|
Reference in New Issue
Block a user