mlx4_core: Fix wrong offset in parsing query device caps response
authorDotan Barak <dotanb@dev.mellanox.co.il>
Thu, 23 Aug 2012 14:09:04 +0000 (14:09 +0000)
committerRoland Dreier <roland@purestorage.com>
Mon, 1 Oct 2012 03:33:08 +0000 (20:33 -0700)
commit426dd00d76ad7c96250f5b5f871847d545fef33c
treedc9be765b3b398a78238f23c312b7f3152049a6d
parent46db567debb2abe7c0c03a1bd97891cbc1a2470b
mlx4_core: Fix wrong offset in parsing query device caps response

The wrong offset was used when parsing the number of XRCs in
mlx4_QUERY_DEV_CAP().

Signed-off-by: Dotan Barak <dotanb@dev.mellanox.co.il>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
drivers/net/ethernet/mellanox/mlx4/fw.c