diff options
author | Matan Barak <matanb@mellanox.com> | 2014-11-13 14:45:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-11-13 15:16:16 -0500 |
commit | 225c6c8c6bbbc32455df3d1c0fb1e1e1fb51c533 (patch) | |
tree | ef792273b42c0368ed373c2e45134fa012d20e86 /firmware/cxgb3 | |
parent | 7c68dd435b3ea128550c3eed62cd3cb405431374 (diff) | |
download | op-kernel-dev-225c6c8c6bbbc32455df3d1c0fb1e1e1fb51c533.zip op-kernel-dev-225c6c8c6bbbc32455df3d1c0fb1e1e1fb51c533.tar.gz |
net/mlx4_core: Use correct variable type for mlx4_slave_cap
We've used an incorrect type for the loop counter and the
mlx4_QUERY_FUNC_CAP function. The current input modifier
is either a port or a boolean.
Since the number of ports is always a positive value < 255,
we should use u8 instead of an integer with casting.
Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'firmware/cxgb3')
0 files changed, 0 insertions, 0 deletions