Messages in this thread Patch in this message | | | Subject | [PATCH 2/2] IB: fix endianness of path record MTU field | Date | Tue, 24 May 2005 15:20:58 -0700 | From | Roland Dreier <> |
| |
Make MTU field in SA PathRecord and MCMemberRecord a u8 rather than an enum to avoid complications with endianness.
Signed-off-by: Roland Dreier <roland@topspin.com>
---
drivers/infiniband/include/ib_sa.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
--- linux-git.orig/drivers/infiniband/include/ib_sa.h 2005-05-24 15:15:55.076280598 -0700 +++ linux-git/drivers/infiniband/include/ib_sa.h 2005-05-24 15:17:41.485086202 -0700 @@ -147,7 +147,7 @@ /* reserved */ u8 sl; u8 mtu_selector; - enum ib_mtu mtu; + u8 mtu; u8 rate_selector; u8 rate; u8 packet_life_time_selector; @@ -180,7 +180,7 @@ u32 qkey; u16 mlid; u8 mtu_selector; - enum ib_mtu mtu; + u8 mtu; u8 traffic_class; u16 pkey; u8 rate_selector; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |