Re: [PATCH net 1/6] net/mlx5: Verify module parameters

2016-12-05 Thread David Miller
From: Saeed Mahameed Date: Sun, 4 Dec 2016 12:56:11 +0200 > +static uint prof_sel = MLX5_DEFAULT_PROF; Please do not use type shorthands such as "uint", always expand fully "unsigned int". Thanks.

[PATCH net 1/6] net/mlx5: Verify module parameters

2016-12-04 Thread Saeed Mahameed
From: Kamal Heib Verify the mlx5_core module parameters by making sure that they are in the expected range and if they aren't restore them to their default values. Fixes: 9603b61de1ee ('mlx5: Move pci device handling from mlx5_ib to mlx5_core') Signed-off-by: Kamal Heib Signed-off-by: Saeed Mah