mirror of
https://github.com/SCST-project/scst.git
synced 2026-08-17 20:56:24 +00:00
Fixed checkpatch complaints about the positioning of braces:
- ERROR: else should follow close brace '}'
- ERROR: open brace '{' following struct go on the same line
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1169 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user