diff options
author | Kees Cook <keescook@chromium.org> | 2018-07-04 10:28:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-09 16:00:07 -0700 |
commit | eec4edc9ee08fe5c2f219b4fab7aed71b409e196 (patch) | |
tree | 27cc7cf4e5f064ac75094b0f4d3c3be312b72764 /drivers/net/ethernet/mellanox/mlxsw/spectrum.h | |
parent | 95765a6ca1288121ddcbf07cd60ec65341829ddc (diff) |
net/mlx5: Use 2-factor allocator calls
This restores the use of 2-factor allocation helpers that were already
fixed treewide. Please do not use open-coded multiplication; prefer,
instead, using 2-factor allocation helpers.
Signed-off-by: Kees Cook <keescook@chromium.org>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlxsw/spectrum.h')
0 files changed, 0 insertions, 0 deletions