summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cadence
diff options
context:
space:
mode:
authorMoritz Fischer <moritz.fischer@ettus.com>2016-03-29 19:11:11 -0700
committerDavid S. Miller <davem@davemloft.net>2016-04-04 16:16:35 -0400
commit96ec6310908a5f02450b18206d85e531f08cfa97 (patch)
tree1d97997cf7df56c7e7f988251ea23bf1140e29c1 /drivers/net/ethernet/cadence
parentf51bdc236b6c5835fa5e0df772acc234288b8af2 (diff)
downloadlinux-96ec6310908a5f02450b18206d85e531f08cfa97.tar.gz
linux-96ec6310908a5f02450b18206d85e531f08cfa97.tar.bz2
linux-96ec6310908a5f02450b18206d85e531f08cfa97.zip
net: macb: Fix coding style error message
checkpatch.pl gave the following error: ERROR: space required before the open parenthesis '(' + for(; p < end; p++, offset += 4) Acked-by: Nicolas Ferre <nicolas.ferre@atmel.com> Acked-by: Michal Simek <michal.simek@xilinx.com> Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/cadence')
-rw-r--r--drivers/net/ethernet/cadence/macb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c
index 48a7d7dee846..b5aa96e8f1b5 100644
--- a/drivers/net/ethernet/cadence/macb.c
+++ b/drivers/net/ethernet/cadence/macb.c
@@ -499,7 +499,7 @@ static void macb_update_stats(struct macb *bp)
WARN_ON((unsigned long)(end - p - 1) != (MACB_TPF - MACB_PFR) / 4);
- for(; p < end; p++, offset += 4)
+ for (; p < end; p++, offset += 4)
*p += bp->macb_reg_readl(bp, offset);
}