diff options
author | Tomer Tayar <Tomer.Tayar@cavium.com> | 2017-05-23 09:41:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-24 22:17:19 +0300 |
commit | 78cea9ffaa34d289212a2444c2e357f7dabcf674 (patch) | |
tree | 83397c02d004bc2a12c6aea7de84a9ba148c9b0d /drivers/net/ethernet/qlogic/qed/qed_mcp.h | |
parent | fc561c8bfe831c1509b7f6af3f45fbea78632539 (diff) | |
download | linux-78cea9ffaa34d289212a2444c2e357f7dabcf674.tar.xz |
qed: Drop the 's' from num_ports_in_engines
The parameter reflects the number of physical ports connected to a single
engine, not all.
Signed-off-by: Tomer Tayar <Tomer.Tayar@cavium.com>
Signed-off-by: Yuval Mintz <Yuval.Mintz@cavium.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/qlogic/qed/qed_mcp.h')
-rw-r--r-- | drivers/net/ethernet/qlogic/qed/qed_mcp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/qlogic/qed/qed_mcp.h b/drivers/net/ethernet/qlogic/qed/qed_mcp.h index 2b09b8545236..3e5bffe3d4e2 100644 --- a/drivers/net/ethernet/qlogic/qed/qed_mcp.h +++ b/drivers/net/ethernet/qlogic/qed/qed_mcp.h @@ -482,7 +482,7 @@ int qed_mcp_bist_nvm_test_get_image_att(struct qed_hwfn *p_hwfn, #define MCP_PF_ID(p_hwfn) MCP_PF_ID_BY_REL(p_hwfn, (p_hwfn)->rel_pf_id) #define MFW_PORT(_p_hwfn) ((_p_hwfn)->abs_pf_id % \ - ((_p_hwfn)->cdev->num_ports_in_engines * \ + ((_p_hwfn)->cdev->num_ports_in_engine * \ qed_device_num_engines((_p_hwfn)->cdev))) struct qed_mcp_info { |