diff options
author | Eilon Greenstein <eilong@broadcom.com> | 2008-08-13 18:59:25 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-08-13 19:05:38 -0400 |
commit | 6378c0253175e400525ac0efac9dd29f4e573cbf (patch) | |
tree | baec5bfdfc0461ffea8380ee3b7debd4154ef4e3 /drivers/net/bnx2x_init.h | |
parent | 3347162995d23bc13f6f99c02ae89814babcaec2 (diff) |
bnx2x: Checkpatch compliance
Checkpatch compliance
The latest version of checkpatch found the following style errors in the
code
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/bnx2x_init.h')
-rw-r--r-- | drivers/net/bnx2x_init.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/net/bnx2x_init.h b/drivers/net/bnx2x_init.h index f62891bf757f..130927cfc75b 100644 --- a/drivers/net/bnx2x_init.h +++ b/drivers/net/bnx2x_init.h | |||
@@ -72,26 +72,26 @@ | |||
72 | 72 | ||
73 | 73 | ||
74 | struct raw_op { | 74 | struct raw_op { |
75 | u32 op :8; | 75 | u32 op:8; |
76 | u32 offset :24; | 76 | u32 offset:24; |
77 | u32 raw_data; | 77 | u32 raw_data; |
78 | }; | 78 | }; |
79 | 79 | ||
80 | struct op_read { | 80 | struct op_read { |
81 | u32 op :8; | 81 | u32 op:8; |
82 | u32 offset :24; | 82 | u32 offset:24; |
83 | u32 pad; | 83 | u32 pad; |
84 | }; | 84 | }; |
85 | 85 | ||
86 | struct op_write { | 86 | struct op_write { |
87 | u32 op :8; | 87 | u32 op:8; |
88 | u32 offset :24; | 88 | u32 offset:24; |
89 | u32 val; | 89 | u32 val; |
90 | }; | 90 | }; |
91 | 91 | ||
92 | struct op_string_write { | 92 | struct op_string_write { |
93 | u32 op :8; | 93 | u32 op:8; |
94 | u32 offset :24; | 94 | u32 offset:24; |
95 | #ifdef __LITTLE_ENDIAN | 95 | #ifdef __LITTLE_ENDIAN |
96 | u16 data_off; | 96 | u16 data_off; |
97 | u16 data_len; | 97 | u16 data_len; |
@@ -102,8 +102,8 @@ struct op_string_write { | |||
102 | }; | 102 | }; |
103 | 103 | ||
104 | struct op_zero { | 104 | struct op_zero { |
105 | u32 op :8; | 105 | u32 op:8; |
106 | u32 offset :24; | 106 | u32 offset:24; |
107 | u32 len; | 107 | u32 len; |
108 | }; | 108 | }; |
109 | 109 | ||