usb: storage: fix multi-line comment style
No functional changes here, just making sure our storage driver uses a consistent multi-line comment style. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com> Acked-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
5b91dfe187
commit
f0183a338e
@@ -1,4 +1,5 @@
|
||||
/* Driver for Datafab USB Compact Flash reader
|
||||
/*
|
||||
* Driver for Datafab USB Compact Flash reader
|
||||
*
|
||||
* datafab driver v0.1:
|
||||
*
|
||||
@@ -693,18 +694,23 @@ static int datafab_transport(struct scsi_cmnd *srb, struct us_data *us)
|
||||
}
|
||||
|
||||
if (srb->cmnd[0] == ALLOW_MEDIUM_REMOVAL) {
|
||||
// sure. whatever. not like we can stop the user from
|
||||
// popping the media out of the device (no locking doors, etc)
|
||||
//
|
||||
/*
|
||||
* sure. whatever. not like we can stop the user from
|
||||
* popping the media out of the device (no locking doors, etc)
|
||||
*/
|
||||
return USB_STOR_TRANSPORT_GOOD;
|
||||
}
|
||||
|
||||
if (srb->cmnd[0] == START_STOP) {
|
||||
/* this is used by sd.c'check_scsidisk_media_change to detect
|
||||
media change */
|
||||
/*
|
||||
* this is used by sd.c'check_scsidisk_media_change to detect
|
||||
* media change
|
||||
*/
|
||||
usb_stor_dbg(us, "START_STOP\n");
|
||||
/* the first datafab_id_device after a media change returns
|
||||
an error (determined experimentally) */
|
||||
/*
|
||||
* the first datafab_id_device after a media change returns
|
||||
* an error (determined experimentally)
|
||||
*/
|
||||
rc = datafab_id_device(us, info);
|
||||
if (rc == USB_STOR_TRANSPORT_GOOD) {
|
||||
info->sense_key = NO_SENSE;
|
||||
|
Reference in New Issue
Block a user