net: macb: Fix coding style error message
authorMoritz Fischer <moritz.fischer@ettus.com>
Wed, 30 Mar 2016 02:11:11 +0000 (19:11 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 Apr 2016 20:16:35 +0000 (16:16 -0400)
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>
drivers/net/ethernet/cadence/macb.c

index 48a7d7dee8461117b3f47bcbdebe4c0745385bf7..b5aa96e8f1b5339de1b6cba102335a66ab3e17af 100644 (file)
@@ -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);
 }