Fixed checkpatch complaints about the positioning of braces:
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sat, 3 Oct 2009 12:47:24 +0000 (12:47 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sat, 3 Oct 2009 12:47:24 +0000 (12:47 +0000)
- ERROR: else should follow close brace '}'
- ERROR: open brace '{' following struct go on the same line

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

qla2x00t/qla2x_tgt.h
qla2x00t/qla2x_tgt_def.h

index 8c0a2e8..e149bcb 100644 (file)
@@ -87,8 +87,7 @@ __qla2x00_send_enable_lun(scsi_qla_host_t *ha, int enable)
                        pkt->command_count = QLA2X00_COMMAND_COUNT_INIT;
                        pkt->immed_notify_count = QLA2X00_IMMED_NOTIFY_COUNT_INIT;
                        pkt->timeout = 0xffff;
-               }
-               else {
+               } else {
                        pkt->command_count = 0;
                        pkt->immed_notify_count = 0;
                        pkt->timeout = 0;
index c4b73a5..4ef7b92 100644 (file)
@@ -575,8 +575,7 @@ typedef struct
 /*
  * ISP queue - notify acknowledge entry structure definition for 24xx.
  */
-typedef struct
-{
+typedef struct {
        uint8_t  entry_type;                /* Entry type. */
        uint8_t  entry_count;               /* Entry count. */
        uint8_t  sys_define;                /* System defined. */
@@ -608,8 +607,7 @@ typedef struct
 #define ABTS_RECV_24XX         0x54 /* ABTS received (for 24xx) */
 #define ABTS_RESP_24XX         0x55 /* ABTS responce (for 24xx) */
 
-typedef struct
-{
+typedef struct {
        uint8_t  entry_type;                /* Entry type. */
        uint8_t  entry_count;               /* Entry count. */
        uint8_t  sys_define;                /* System defined. */
@@ -627,8 +625,7 @@ typedef struct
 
 #define ABTS_PARAM_ABORT_SEQ           BIT_0
 
-typedef struct
-{
+typedef struct {
        uint16_t reserved;
        uint8_t  seq_id_last;
        uint8_t  seq_id_valid;
@@ -640,8 +637,7 @@ typedef struct
        uint16_t low_seq_cnt;
 } __attribute__((packed)) ba_acc_le_t;
 
-typedef struct
-{
+typedef struct {
        uint8_t vendor_uniq;
        uint8_t reason_expl;
        uint8_t reason_code;
@@ -650,8 +646,7 @@ typedef struct
        uint8_t reserved;
 } __attribute__((packed)) ba_rjt_le_t;
 
-typedef struct
-{
+typedef struct {
        uint8_t  entry_type;                /* Entry type. */
        uint8_t  entry_count;               /* Entry count. */
        uint8_t  sys_define;                /* System defined. */
@@ -674,8 +669,7 @@ typedef struct
        uint32_t exchange_addr_to_abort;
 } __attribute__((packed)) abts24_resp_entry_t;
 
-typedef struct
-{
+typedef struct {
        uint8_t  entry_type;                /* Entry type. */
        uint8_t  entry_count;               /* Entry count. */
        uint8_t  sys_define;                /* System defined. */