Fixed checkpatch complaints about whitespace.
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sat, 27 Mar 2010 08:45:18 +0000 (08:45 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sat, 27 Mar 2010 08:45:18 +0000 (08:45 +0000)
git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1567 d57e44dd-8a1f-0410-8b47-8ef2f437770f

iscsi-scst/kernel/iscsi.c
scst/include/scst.h
scst/src/scst_lib.c
scst/src/scst_sysfs.c

index 90c3532..59ecbf3 100644 (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);
index bc53087..8e517b0 100644 (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;
index e407180..7b4cc8c 100644 (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);
                }
 
index b73b730..d853dad 100644 (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);