提交 581cd7ee 编写于 作者: R Ruslan Pisarev 提交者: Greg Kroah-Hartman

Staging: keucr: Coding style fixes in scsiglue.c

Fixed macros in scsiglue.c
Signed-off-by: NRuslan Pisarev <ruslan@rpisarev.org.ua>
Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
上级 f647b49b
...@@ -144,7 +144,7 @@ static int command_abort(struct scsi_cmnd *srb) ...@@ -144,7 +144,7 @@ static int command_abort(struct scsi_cmnd *srb)
scsi_lock(us_to_host(us)); scsi_lock(us_to_host(us));
if (us->srb != srb) { if (us->srb != srb) {
scsi_unlock(us_to_host(us)); scsi_unlock(us_to_host(us));
printk ("-- nothing to abort\n"); printk("-- nothing to abort\n");
return FAILED; return FAILED;
} }
...@@ -279,7 +279,8 @@ static int proc_info(struct Scsi_Host *host, char *buffer, char **start, ...@@ -279,7 +279,8 @@ static int proc_info(struct Scsi_Host *host, char *buffer, char **start,
pos += sprintf(pos, " Quirks:"); pos += sprintf(pos, " Quirks:");
#define US_FLAG(name, value) \ #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 US_DO_ALL_FLAGS
#undef US_FLAG #undef US_FLAG
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册