diff options
author | Dotan Barak <dotanba@gmail.com> | 2008-07-15 02:48:44 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-07-15 02:48:44 -0400 |
commit | 4deccd6d95f1f1536dad3c842e39c1ace577329d (patch) | |
tree | 1c1e8020f79b6fbbafd18f28da49573ad911bc87 /include/rdma/ib_mad.h | |
parent | fd91b1bf1bb6fb443cb8c7600c7314f093b31f40 (diff) |
RDMA: Improve include file coding style
Remove subversion $Id lines and improve readability by fixing other
coding style problems pointed out by checkpatch.pl.
Signed-off-by: Dotan Barak <dotanba@gmail.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'include/rdma/ib_mad.h')
-rw-r--r-- | include/rdma/ib_mad.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/include/rdma/ib_mad.h b/include/rdma/ib_mad.h index 7228c056b9e9..5f6c40fffcf4 100644 --- a/include/rdma/ib_mad.h +++ b/include/rdma/ib_mad.h | |||
@@ -32,11 +32,9 @@ | |||
32 | * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | 32 | * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
33 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | 33 | * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE |
34 | * SOFTWARE. | 34 | * SOFTWARE. |
35 | * | ||
36 | * $Id: ib_mad.h 5596 2006-03-03 01:00:07Z sean.hefty $ | ||
37 | */ | 35 | */ |
38 | 36 | ||
39 | #if !defined( IB_MAD_H ) | 37 | #if !defined(IB_MAD_H) |
40 | #define IB_MAD_H | 38 | #define IB_MAD_H |
41 | 39 | ||
42 | #include <linux/list.h> | 40 | #include <linux/list.h> |
@@ -194,8 +192,7 @@ struct ib_vendor_mad { | |||
194 | u8 data[IB_MGMT_VENDOR_DATA]; | 192 | u8 data[IB_MGMT_VENDOR_DATA]; |
195 | }; | 193 | }; |
196 | 194 | ||
197 | struct ib_class_port_info | 195 | struct ib_class_port_info { |
198 | { | ||
199 | u8 base_version; | 196 | u8 base_version; |
200 | u8 class_version; | 197 | u8 class_version; |
201 | __be16 capability_mask; | 198 | __be16 capability_mask; |
@@ -614,11 +611,11 @@ int ib_process_mad_wc(struct ib_mad_agent *mad_agent, | |||
614 | * any class specific header, and MAD data area. | 611 | * any class specific header, and MAD data area. |
615 | * If @rmpp_active is set, the RMPP header will be initialized for sending. | 612 | * If @rmpp_active is set, the RMPP header will be initialized for sending. |
616 | */ | 613 | */ |
617 | struct ib_mad_send_buf * ib_create_send_mad(struct ib_mad_agent *mad_agent, | 614 | struct ib_mad_send_buf *ib_create_send_mad(struct ib_mad_agent *mad_agent, |
618 | u32 remote_qpn, u16 pkey_index, | 615 | u32 remote_qpn, u16 pkey_index, |
619 | int rmpp_active, | 616 | int rmpp_active, |
620 | int hdr_len, int data_len, | 617 | int hdr_len, int data_len, |
621 | gfp_t gfp_mask); | 618 | gfp_t gfp_mask); |
622 | 619 | ||
623 | /** | 620 | /** |
624 | * ib_is_mad_class_rmpp - returns whether given management class | 621 | * ib_is_mad_class_rmpp - returns whether given management class |