commit | fa7252ed4d92397baf30e4a144af95a33eaa925b | [log] [tgz] |
---|---|---|
author | Jason Gunthorpe <jgunthorpe@obsidianresearch.com> | Fri Jan 19 11:58:49 2007 -0700 |
committer | Roland Dreier <rolandd@cisco.com> | Sun Feb 04 14:11:56 2007 -0800 |
tree | aeb9502195cc0faff69631ca184d38779e0d8ed5 | |
parent | 1033ff670d49760604f5d4c73a1b60741863a406 [diff] |
IB: Make sure struct ib_user_mad.data is aligned 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>