summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaeed Mahameed <saeedm@mellanox.com>2017-08-24 15:54:11 +0300
committerSaeed Mahameed <saeedm@mellanox.com>2017-08-24 16:02:57 +0300
commit3c0045837d613984c7948775fa315beb68703b5c (patch)
tree11e199e3ba52eab07a72b4909426c4c5d017586e
parenta5e2da6e9787187ff104c34aa048419703c1f9cb (diff)
downloadlinux-3c0045837d613984c7948775fa315beb68703b5c.tar.gz
linux-3c0045837d613984c7948775fa315beb68703b5c.tar.bz2
linux-3c0045837d613984c7948775fa315beb68703b5c.zip
net/mlx5: Add a blank line after declarations V2
The blank line should be after u32 val = ... and not after __be32 __iomem *addr = ... Fixes: ad5b39a95c83 ("net/mlx5: Add a blank line after declarations") Signed-off-by: Saeed Mahameed <saeedm@mellanox.com> Reported-by: Joe Perches <joe@perches.com>
-rw-r--r--drivers/net/ethernet/mellanox/mlx5/core/eq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/eq.c b/drivers/net/ethernet/mellanox/mlx5/core/eq.c
index a08027b8f3ce..02da96f98352 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/eq.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/eq.c
@@ -188,8 +188,8 @@ static enum mlx5_dev_event port_subtype_event(u8 subtype)
static void eq_update_ci(struct mlx5_eq *eq, int arm)
{
__be32 __iomem *addr = eq->doorbell + (arm ? 0 : 2);
-
u32 val = (eq->cons_index & 0xffffff) | (eq->eqn << 24);
+
__raw_writel((__force u32)cpu_to_be32(val), addr);
/* We still want ordering, just not swabbing, so add a barrier */
mb();