Skip to content

Commit

Permalink
Staging: keucr: Coding style fixes in scsiglue.c
Browse files Browse the repository at this point in the history
Fixed macros in scsiglue.c

Signed-off-by: Ruslan Pisarev <ruslan@rpisarev.org.ua>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Ruslan Pisarev authored and Greg Kroah-Hartman committed Aug 23, 2011
1 parent f647b49 commit 581cd7e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/staging/keucr/scsiglue.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static int command_abort(struct scsi_cmnd *srb)
scsi_lock(us_to_host(us));
if (us->srb != srb) {
scsi_unlock(us_to_host(us));
printk ("-- nothing to abort\n");
printk("-- nothing to abort\n");
return FAILED;
}

Expand Down Expand Up @@ -279,7 +279,8 @@ static int proc_info(struct Scsi_Host *host, char *buffer, char **start,
pos += sprintf(pos, " Quirks:");

#define US_FLAG(name, value) \
if (us->fflags & value) pos += sprintf(pos, " " #name);
if (us->fflags & value)\
pos += sprintf(pos, " " #name);
US_DO_ALL_FLAGS
#undef US_FLAG

Expand Down

0 comments on commit 581cd7e

Please sign in to comment.