forked from luck/tmp_suning_uos_patched
USB: storage: fixed keyword related space issues.
Fixed keyword related space issues found by checkpatch.pl tool in drivers/usb/storage/usb.c Signed-off-by: Jeffrin Jose <ahiliation@yahoo.co.in> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
a1631062f2
commit
db2c862484
@ -265,7 +265,7 @@ void fill_inquiry_response(struct us_data *us, unsigned char *data,
|
||||
return;
|
||||
|
||||
memset(data+8, ' ', 28);
|
||||
if(data[0]&0x20) { /* USB device currently not connected. Return
|
||||
if (data[0]&0x20) { /* USB device currently not connected. Return
|
||||
peripheral qualifier 001b ("...however, the
|
||||
physical device is not currently connected
|
||||
to this logical unit") and leave vendor and
|
||||
@ -298,7 +298,7 @@ static int usb_stor_control_thread(void * __us)
|
||||
struct us_data *us = (struct us_data *)__us;
|
||||
struct Scsi_Host *host = us_to_host(us);
|
||||
|
||||
for(;;) {
|
||||
for (;;) {
|
||||
US_DEBUGP("*** thread sleeping.\n");
|
||||
if (wait_for_completion_interruptible(&us->cmnd_ready))
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user