mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-19 21:56:31 +00:00
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:
+2
-2
@@ -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},
|
||||
|
||||
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user