IB: Make sure struct ib_user_mad.data is aligned
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>
Fri, 19 Jan 2007 18:58:49 +0000 (11:58 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sun, 4 Feb 2007 22:11:56 +0000 (14:11 -0800)
Make the untyped data region in ib_user_mad have type u64 so that it
gets aligned properly.  This avoids alignment faults in ib_umad when
casting the data field to an rmpp_mad and accessing the 64-bit tid
field on architectures like ia64.

Signed-off-by: Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>

No differences found