From b0cf40d013dda4c75e6816830efb28e6623f583d Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 27 Mar 2010 08:45:18 +0000 Subject: [PATCH] Fixed checkpatch complaints about whitespace. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1567 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- iscsi-scst/kernel/iscsi.c | 2 +- scst/include/scst.h | 8 ++++---- scst/src/scst_lib.c | 4 ++-- scst/src/scst_sysfs.c | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/iscsi-scst/kernel/iscsi.c b/iscsi-scst/kernel/iscsi.c index 90c3532c0..59ecbf3d6 100644 --- a/iscsi-scst/kernel/iscsi.c +++ b/iscsi-scst/kernel/iscsi.c @@ -2509,7 +2509,7 @@ static void nop_out_exec(struct iscsi_cmnd *req) struct iscsi_cmnd *r; struct iscsi_conn *conn = req->conn; - TRACE_DBG("Receive Nop-In response (ttt 0x%08x)", + TRACE_DBG("Receive Nop-In response (ttt 0x%08x)", be32_to_cpu(cmnd_ttt(req))); spin_lock_bh(&conn->nop_req_list_lock); diff --git a/scst/include/scst.h b/scst/include/scst.h index bc5308785..8e517b00a 100644 --- a/scst/include/scst.h +++ b/scst/include/scst.h @@ -925,7 +925,7 @@ struct scst_tgt_template { const char *mgmt_cmd_help; /* Optional help string for add_target parameters */ - const char *add_target_parameters_help; + const char *add_target_parameters_help; /** Private, must be inited to 0 by memset() **/ @@ -953,7 +953,7 @@ struct scst_tgt_template { #endif }; -/* +/* * Threads pool types. Changing them don't forget to change * the corresponding *_STR values in scst_const.h! */ @@ -1178,10 +1178,10 @@ struct scst_dev_type { const char *trace_tbl_help; /* Optional help string for mgmt_cmd commands */ - const char *mgmt_cmd_help; + const char *mgmt_cmd_help; /* Optional help string for add_device parameters */ - const char *add_device_parameters_help; + const char *add_device_parameters_help; /* Optional sysfs attributes */ const struct attribute **devt_attrs; diff --git a/scst/src/scst_lib.c b/scst/src/scst_lib.c index e4071804b..7b4cc8cae 100644 --- a/scst/src/scst_lib.c +++ b/scst/src/scst_lib.c @@ -2409,7 +2409,7 @@ int scst_tgt_dev_setup_threads(struct scst_tgt_dev *tgt_dev) "%p, dev %s)", shared_io_context, tgt_dev, &tgt_dev->tgt_dev_cmd_threads, tgt_dev->dev->virt_name); - tgt_dev->tgt_dev_cmd_threads.io_context = + tgt_dev->tgt_dev_cmd_threads.io_context = ioc_task_link(shared_io_context); } else { /* Create new context */ @@ -2445,7 +2445,7 @@ int scst_tgt_dev_setup_threads(struct scst_tgt_dev *tgt_dev) "shared tgt_dev %p (cmd_threads %p)", shared_io_context, tgt_dev, tgt_dev->active_cmd_threads); - tgt_dev->active_cmd_threads->io_context = + tgt_dev->active_cmd_threads->io_context = ioc_task_link(shared_io_context); } diff --git a/scst/src/scst_sysfs.c b/scst/src/scst_sysfs.c index b73b73056..d853dad14 100644 --- a/scst/src/scst_sysfs.c +++ b/scst/src/scst_sysfs.c @@ -2416,8 +2416,8 @@ static ssize_t scst_rel_tgt_id_store(struct kobject *kobj, if (rel_tgt_id < SCST_MIN_REL_TGT_ID || rel_tgt_id > SCST_MAX_REL_TGT_ID) { - if ((rel_tgt_id == 0) && !tgt->tgtt->is_target_enabled(tgt)) - goto set; + if ((rel_tgt_id == 0) && !tgt->tgtt->is_target_enabled(tgt)) + goto set; PRINT_ERROR("Invalid relative port id %d", (uint16_t)rel_tgt_id);