Commit 3c004583 authored by Saeed Mahameed's avatar Saeed Mahameed

net/mlx5: Add a blank line after declarations V2

The blank line should be after u32 val = ...
and not after __be32 __iomem *addr = ...

Fixes: ad5b39a9 ("net/mlx5: Add a blank line after declarations")
Signed-off-by: default avatarSaeed Mahameed <saeedm@mellanox.com>
Reported-by: default avatarJoe Perches <joe@perches.com>
parent a5e2da6e
...@@ -188,8 +188,8 @@ static enum mlx5_dev_event port_subtype_event(u8 subtype) ...@@ -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) static void eq_update_ci(struct mlx5_eq *eq, int arm)
{ {
__be32 __iomem *addr = eq->doorbell + (arm ? 0 : 2); __be32 __iomem *addr = eq->doorbell + (arm ? 0 : 2);
u32 val = (eq->cons_index & 0xffffff) | (eq->eqn << 24); u32 val = (eq->cons_index & 0xffffff) | (eq->eqn << 24);
__raw_writel((__force u32)cpu_to_be32(val), addr); __raw_writel((__force u32)cpu_to_be32(val), addr);
/* We still want ordering, just not swabbing, so add a barrier */ /* We still want ordering, just not swabbing, so add a barrier */
mb(); mb();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment