From: Moritz Fischer Date: Wed, 30 Mar 2016 02:11:11 +0000 (-0700) Subject: net: macb: Fix coding style error message X-Git-Tag: v4.7-rc1~154^2~358^2~4 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=96ec6310908a5f02450b18206d85e531f08cfa97;p=karo-tx-linux.git 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 Acked-by: Michal Simek Signed-off-by: Moritz Fischer Signed-off-by: David S. Miller --- 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); }