]> 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)
commitd7a38742b80c4515a70d50c8a5b069a6fb5f889b
tree0f7c9f16729e1406bc59d2f911e9c1fa2a7506fa
parent6b74535d1646764d7ac9999111cd6b2e8cb3f022
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