net/mlx4_core: Fix memory access error in mlx4_QUERY_DEV_CAP_wrapper()
authorAmir Vadai <amirv@mellanox.com>
Thu, 6 Mar 2014 16:28:16 +0000 (18:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 6 Mar 2014 22:09:04 +0000 (17:09 -0500)
commit57352ef4f5f19969a50d42e84b274287993b576f
tree3d5977829a6edd48d542e59e82085e90b5c14162
parent5bd4e4c158ceb4e76ce9ed005c876d59caad8af2
net/mlx4_core: Fix memory access error in mlx4_QUERY_DEV_CAP_wrapper()

Fix a regression introduced by [1]. outbox was accessed instead of
outbox->buf. Typo was copy-pasted to [2] and [3].

[1] - cc1ade9 mlx4_core: Disable memory windows for virtual functions
[2] - 4de6580 mlx4_core: Add support for steerable IB UD QPs
[3] - 7ffdf72 net/mlx4_core: Add basic support for TCP/IP offloads under
      tunneling

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c