]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Properly indent within conditional statements
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 11 Jul 2017 12:36:11 +0000 (15:36 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Sun, 20 Aug 2017 09:57:19 +0000 (12:57 +0300)
commit4871e3f2a2284c915eaaf4e124dbedfba7ab2cd0
tree0f7c9f16729e1406bc59d2f911e9c1fa2a7506fa
parent0856990f9775b3daa94ff3f6323f069ad694008c
net/mlx5e: Properly indent within conditional statements

To fix these checkpatch complaints:

WARNING: suspect code indent for conditional statements (8, 24)
+       if (eth_proto & (MLX5E_PROT_MASK(MLX5E_10GBASE_SR)
[...]
+                       return PORT_FIBRE;

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c