summaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorMatan Barak <matanb@mellanox.com>2014-11-13 14:45:28 +0200
committerDavid S. Miller <davem@davemloft.net>2014-11-13 15:16:16 -0500
commit225c6c8c6bbbc32455df3d1c0fb1e1e1fb51c533 (patch)
treeef792273b42c0368ed373c2e45134fa012d20e86 /Documentation
parent7c68dd435b3ea128550c3eed62cd3cb405431374 (diff)
downloadop-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 'Documentation')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud