Fixed checkpatch complaints about whitespace.

git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1567 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2010-03-27 08:45:18 +00:00
parent 9df6e66097
commit b0cf40d013
4 changed files with 9 additions and 9 deletions

View File

@@ -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);

View File

@@ -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;

View File

@@ -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);
}

View File

@@ -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);