Skip to content

Commit

Permalink
USB: storage: fixed keyword related space issues.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeffrin Jose authored and Greg Kroah-Hartman committed May 17, 2012
1 parent a163106 commit db2c862
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/storage/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit db2c862

Please sign in to comment.