linux/drivers/net/ethernet/mellanox
Gustavo A. R. Silva f69bf5dee7 net/mlx4: Use array_size() helper in copy_to_user()
Use array_size() helper instead of the open-coded version in
copy_to_user(). These sorts of multiplication factors need
to be wrapped in array_size().

Link: https://github.com/KSPP/linux/issues/160
Signed-off-by: Gustavo A. R. Silva <gustavoars@kernel.org>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-09-29 11:32:14 +01:00
..
mlx4 net/mlx4: Use array_size() helper in copy_to_user() 2021-09-29 11:32:14 +01:00
mlx5/core net/mlx5e: check return value of rhashtable_init 2021-09-28 12:59:24 +01:00
mlxbf_gige mlxbf_gige: clear valid_polarity upon open 2021-09-16 14:31:58 +01:00
mlxfw net/mlxfw: Use kzalloc for allocating only one thing 2021-01-05 16:01:02 -08:00
mlxsw mlxsw: core: Register devlink instance last 2021-09-27 16:31:59 +01:00
Kconfig Add Mellanox BlueField Gigabit Ethernet driver 2021-06-25 11:20:23 -07:00
Makefile Add Mellanox BlueField Gigabit Ethernet driver 2021-06-25 11:20:23 -07:00