aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/core
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2006-05-01 13:40:23 -0400
committerRoland Dreier <rolandd@cisco.com>2006-05-01 13:40:23 -0400
commit254abfd33a214617deb916585b306faee834c97f (patch)
treea926e60a3733a24e5e666d9e21877813f34e1228 /drivers/infiniband/core
parent1f4a90670bacbf61f2fcc19a9e0e78748c932a25 (diff)
IB/mthca: Fix offset in query_gid method
GuidInfo records have 8 byte GUIDs in them, so an index should be multiplied by 8 to get an offset. mthca_query_gid() was incorrectly multiplying by 16. Noticed by Leonid Keller <leonid@mellanox.co.il>. Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/core')
0 files changed, 0 insertions, 0 deletions