IB/core: Fix unaligned accesses
authorDavid Ahern <david.ahern@oracle.com>
Sun, 3 May 2015 13:48:26 +0000 (09:48 -0400)
committerDoug Ledford <dledford@redhat.com>
Tue, 5 May 2015 17:21:27 +0000 (13:21 -0400)
commit0d0f738f6a11856a704dcd8fd3a008b200f17625
treeea08fffa6d53cd7e8e16032f5d9140d4f1dde5d8
parent471e70583217728955436a3fa6e5201e5c8c296a
IB/core: Fix unaligned accesses

Addresses the following kernel logs seen during boot of sparc systems:

Kernel unaligned access at TPC[103bce50] cm_find_listen+0x34/0xf8 [ib_cm]
Kernel unaligned access at TPC[103bce50] cm_find_listen+0x34/0xf8 [ib_cm]
Kernel unaligned access at TPC[103bce50] cm_find_listen+0x34/0xf8 [ib_cm]
Kernel unaligned access at TPC[103bce50] cm_find_listen+0x34/0xf8 [ib_cm]
Kernel unaligned access at TPC[103bce50] cm_find_listen+0x34/0xf8 [ib_cm]

Signed-off-by: David Ahern <david.ahern@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/cm.c
drivers/infiniband/core/cm_msgs.h
include/rdma/ib_cm.h