Fixed the following category of complaints reported by the 2.6.32 checkpatch:
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 16 Dec 2009 20:01:08 +0000 (20:01 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Wed, 16 Dec 2009 20:01:08 +0000 (20:01 +0000)
  11 ERROR: that open brace { should be on the previous line

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1405 d57e44dd-8a1f-0410-8b47-8ef2f437770f

iscsi-scst/kernel/config.c
iscsi-scst/kernel/iscsi.c
scst/src/dev_handlers/scst_vdisk.c
scst/src/scst_lib.c
scst/src/scst_proc.c
scst/src/scst_sysfs.c

index 9d948f2..15d4bc4 100644 (file)
@@ -25,8 +25,7 @@
 
 #define ISCSI_PROC_LOG_ENTRY_NAME      "trace_level"
 
-static struct scst_trace_log iscsi_local_trace_tbl[] =
-{
+static struct scst_trace_log iscsi_local_trace_tbl[] = {
     { TRACE_D_READ,            "d_read" },
     { TRACE_D_WRITE,           "d_write" },
     { TRACE_CONN_OC,           "conn" },
@@ -171,8 +170,7 @@ struct proc_entries {
        const struct file_operations *const fops;
 };
 
-static struct proc_entries iscsi_proc_entries[] =
-{
+static struct proc_entries iscsi_proc_entries[] = {
        {"session", &session_seq_fops},
 };
 
index 1cc3061..0680d37 100644 (file)
@@ -3144,8 +3144,7 @@ static int iscsi_target_release(struct scst_tgt *scst_tgt)
 }
 
 #ifndef CONFIG_SCST_PROC
-static struct scst_trace_log iscsi_local_trace_tbl[] =
-{
+static struct scst_trace_log iscsi_local_trace_tbl[] = {
     { TRACE_D_READ,            "d_read" },
     { TRACE_D_WRITE,           "d_write" },
     { TRACE_CONN_OC,           "conn" },
index 4e85259..20251e5 100644 (file)
@@ -48,8 +48,7 @@
 
 #define TRACE_ORDER    0x80000000
 
-static struct scst_trace_log vdisk_local_trace_tbl[] =
-{
+static struct scst_trace_log vdisk_local_trace_tbl[] = {
     { TRACE_ORDER,             "order" },
     { 0,                       NULL }
 };
index a49babd..33425ed 100644 (file)
@@ -2048,8 +2048,9 @@ out:
 int scst_prepare_request_sense(struct scst_cmd *orig_cmd)
 {
        int res = 0;
-       static const uint8_t request_sense[6] =
-           { REQUEST_SENSE, 0, 0, 0, SCST_SENSE_BUFFERSIZE, 0 };
+       static const uint8_t request_sense[6] = {
+               REQUEST_SENSE, 0, 0, 0, SCST_SENSE_BUFFERSIZE, 0
+       };
        struct scst_cmd *rs_cmd;
 
        TRACE_ENTRY();
index ae7554e..f773bed 100644 (file)
@@ -92,8 +92,7 @@ static struct proc_dir_entry *scst_proc_groups_root;
 #if defined(CONFIG_SCST_DEBUG) || defined(CONFIG_SCST_TRACING)
 static struct scst_proc_data scst_log_proc_data;
 
-static struct scst_trace_log scst_proc_trace_tbl[] =
-{
+static struct scst_trace_log scst_proc_trace_tbl[] = {
     { TRACE_OUT_OF_MEM,                "out_of_mem" },
     { TRACE_MINOR,             "minor" },
     { TRACE_SG_OP,             "sg" },
@@ -114,8 +113,7 @@ static struct scst_trace_log scst_proc_trace_tbl[] =
     { 0,                       NULL }
 };
 
-static struct scst_trace_log scst_proc_local_trace_tbl[] =
-{
+static struct scst_trace_log scst_proc_local_trace_tbl[] = {
     { TRACE_RTRY,              "retry" },
     { TRACE_SCSI_SERIALIZING,  "scsi_serializing" },
     { TRACE_RCV_BOT,           "recv_bot" },
@@ -163,8 +161,7 @@ static char *scst_proc_help_string =
 #endif
 ;
 
-static char *scst_proc_dev_handler_type[] =
-{
+static char *scst_proc_dev_handler_type[] = {
     "Direct-access device (e.g., magnetic disk)",
     "Sequential-access device (e.g., magnetic tape)",
     "Printer device",
@@ -414,11 +411,13 @@ out:
 
 #ifdef CONFIG_SCST_MEASURE_LATENCY
 
-static char *scst_io_size_names[] = { "<=8K  ",
-                                     "<=32K ",
-                                     "<=128K",
-                                     "<=512K",
-                                     ">512K " };
+static char *scst_io_size_names[] = {
+       "<=8K  ",
+       "<=32K ",
+       "<=128K",
+       "<=512K",
+       ">512K "
+};
 
 static int lat_info_show(struct seq_file *seq, void *v)
 {
index ac5772a..f06af12 100644 (file)
@@ -40,8 +40,7 @@ static struct kobject *scst_handlers_kobj;
 struct sysfs_ops scst_sysfs_ops;
 EXPORT_SYMBOL(scst_sysfs_ops);
 
-static const char *scst_dev_handler_types[] =
-{
+static const char *scst_dev_handler_types[] = {
     "Direct-access device (e.g., magnetic disk)",
     "Sequential-access device (e.g., magnetic tape)",
     "Printer device",
@@ -64,8 +63,7 @@ static const char *scst_dev_handler_types[] =
 
 static DEFINE_MUTEX(scst_log_mutex);
 
-static struct scst_trace_log scst_trace_tbl[] =
-{
+static struct scst_trace_log scst_trace_tbl[] = {
     { TRACE_OUT_OF_MEM,                "out_of_mem" },
     { TRACE_MINOR,             "minor" },
     { TRACE_SG_OP,             "sg" },
@@ -86,8 +84,7 @@ static struct scst_trace_log scst_trace_tbl[] =
     { 0,                       NULL }
 };
 
-static struct scst_trace_log scst_local_trace_tbl[] =
-{
+static struct scst_trace_log scst_local_trace_tbl[] = {
     { TRACE_RTRY,              "retry" },
     { TRACE_SCSI_SERIALIZING,  "scsi_serializing" },
     { TRACE_RCV_BOT,           "recv_bot" },