net: nps_enet: fix coding style issues
authorElad Kanfi <eladkan@mellanox.com>
Wed, 13 Jul 2016 13:58:06 +0000 (16:58 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Jul 2016 03:59:06 +0000 (20:59 -0700)
commitddbff3e8dde8b6a266eccd4312c6b16ae8aa1d2d
treef585d5dc797b45690d711015c63abe4b94c6cce9
parent398aae25aa59d0613a87451c8db9e6ee013db131
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: Elad Kanfi <eladkan@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/ezchip/nps_enet.c