projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f51bdc2
)
net: macb: Fix coding style error message
author
Moritz Fischer
<
[email protected]
>
Wed, 30 Mar 2016 02:11:11 +0000
(19:11 -0700)
committer
David S. Miller
<
[email protected]
>
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 <
[email protected]
>
Acked-by: Michal Simek <
[email protected]
>
Signed-off-by: Moritz Fischer <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
drivers/net/ethernet/cadence/macb.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/cadence/macb.c
b/drivers/net/ethernet/cadence/macb.c
index 48a7d7dee8461117b3f47bcbdebe4c0745385bf7..b5aa96e8f1b5339de1b6cba102335a66ab3e17af 100644
(file)
--- 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);
}