]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: Put constant on the right side of comparisons
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 28 Oct 2015 09:17:03 +0000 (10:17 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Oct 2015 03:26:54 +0000 (12:26 +0900)
commita4598203ff73a274f5709aa4be9ea5d313e36073
tree6f2040aafb909089f891c55a41c17d0463cfd30c
parent9d65f9cbfe46192ff73436369c287ecd6e18fee5
mlxsw: Put constant on the right side of comparisons

Fixes those places where checkpatch complains that comparisons
should place the constant on the right side of the test.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core.c
drivers/net/ethernet/mellanox/mlxsw/switchx2.c