From 5da87a103ac03b1ed3da75c6075a8a4825b522c5 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Thu, 26 Apr 2012 11:13:12 +0000 Subject: [PATCH] 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 --- scst/src/scst_lib.c | 4 ++-- scst/src/scst_targ.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index 4993875c0..48cda5182 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -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}, diff --git a/scst/src/scst_targ.c b/scst/src/scst_targ.c index b6947265b..5f586870d 100644 --- a/scst/src/scst_targ.c +++ b/scst/src/scst_targ.c @@ -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,