scst: Fix recently introduced checkpatch complaints about whitespace

+      2 ERROR: code indent should use tabs where possible
+      2 ERROR: need consistent spacing around '|' (ctx:VxW)
+      2 WARNING: please, no space before tabs


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4234 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2012-04-26 11:13:12 +00:00
parent d43e113e60
commit 5da87a103a
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -242,7 +242,7 @@ static const struct scst_sdbops scst_scsi_op_table[] = {
.info_op_name = "READ BLOCK LIMITS",
.info_data_direction = SCST_DATA_READ,
.info_op_flags = SCST_SMALL_TIMEOUT|SCST_REG_RESERVE_ALLOWED|
SCST_WRITE_EXCL_ALLOWED|SCST_EXCL_ACCESS_ALLOWED,
SCST_WRITE_EXCL_ALLOWED|SCST_EXCL_ACCESS_ALLOWED,
.get_cdb_info = get_cdb_info_block_limit},
{.ops = 0x07, .devkey = " O ",
.info_op_name = "INITIALIZE ELEMENT STATUS",
@@ -367,7 +367,7 @@ static const struct scst_sdbops scst_scsi_op_table[] = {
.info_op_name = "INQUIRY",
.info_data_direction = SCST_DATA_READ,
.info_op_flags = SCST_SMALL_TIMEOUT|SCST_IMPLICIT_HQ|SCST_SKIP_UA|
SCST_REG_RESERVE_ALLOWED| SCST_WRITE_EXCL_ALLOWED|
SCST_REG_RESERVE_ALLOWED|SCST_WRITE_EXCL_ALLOWED|
SCST_EXCL_ACCESS_ALLOWED,
.info_len_off = 3, .info_len_len = 2,
.get_cdb_info = get_cdb_info_len_2},
+1 -1
View File
@@ -886,7 +886,7 @@ out:
*/
if (unlikely((cmd->data_len == SCST_DEF_DATA_LEN)) &&
(!cmd->completed || ((cmd->state <= SCST_CMD_STATE_REAL_EXEC) &&
(cmd->state != SCST_CMD_STATE_PREPROCESSING_DONE)))) {
(cmd->state != SCST_CMD_STATE_PREPROCESSING_DONE)))) {
PRINT_CRIT_ERROR("Not initialized data_len for going to "
"execute command (cmd %p, data_len %d, completed %d, "
"state %d)", cmd, cmd->data_len, cmd->completed,