diff options
| author | Elad Kanfi <[email protected]> | 2016-07-13 13:58:06 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-07-14 03:59:06 +0000 |
| commit | ddbff3e8dde8b6a266eccd4312c6b16ae8aa1d2d (patch) | |
| tree | f585d5dc797b45690d711015c63abe4b94c6cce9 /net/switchdev/switchdev.c | |
| parent | Merge branch 'sctp-gso-frags-from-chunk' (diff) | |
| download | kernel-ddbff3e8dde8b6a266eccd4312c6b16ae8aa1d2d.tar.gz kernel-ddbff3e8dde8b6a266eccd4312c6b16ae8aa1d2d.zip | |
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
