Skip to content
Commit ddbff3e8 authored by Elad Kanfi's avatar Elad Kanfi Committed by David S. Miller
Browse files

net: nps_enet: fix coding style issues



Fix following coding style problems :

ERROR: else should follow close brace '}'
+	}
+	else { /* !dst_is_aligned */

WARNING: Missing a blank line after declarations
+			u32 buf = nps_enet_reg_get(priv, NPS_ENET_REG_RX_BUF);
+			put_unaligned_be32(buf, reg);

WARNING: Missing a blank line after declarations
+		u32 buf;
+		ioread32_rep(priv->regs_base + NPS_ENET_REG_RX_BUF, &buf, 1);

CHECK: Blank lines aren't necessary before a close brace '}'
+
+	}

total: 1 errors, 2 warnings, 1 checks, 683 lines checked

Signed-off-by: default avatarElad Kanfi <eladkan@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 398aae25
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