Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1370264
| From | Moritz Fischer <moritz.fischer@ettus.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH v3 1/5] net: macb: Fix coding style error message |
| Date | 2016-04-03 19:30 +0200 |
| Message-ID | <rjU0y-6OT-9@gated-at.bofh.it> (permalink) |
| References | <rjU0y-6OT-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
drivers/net/ethernet/cadence/macb.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/net/ethernet/cadence/macb.c b/drivers/net/ethernet/cadence/macb.c
index 48a7d7d..b5aa96e 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);
}
--
2.7.4
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v3 0/5] macb: Codingstyle cleanups Moritz Fischer <moritz.fischer@ettus.com> - 2016-04-03 19:30 +0200 [PATCH v3 2/5] net: macb: Fix coding style warnings Moritz Fischer <moritz.fischer@ettus.com> - 2016-04-03 19:30 +0200 [PATCH v3 5/5] net: macb: Fix simple typo Moritz Fischer <moritz.fischer@ettus.com> - 2016-04-03 19:30 +0200 [PATCH v3 1/5] net: macb: Fix coding style error message Moritz Fischer <moritz.fischer@ettus.com> - 2016-04-03 19:30 +0200 [PATCH v3 3/5] net: macb: Fix coding style suggestions Moritz Fischer <moritz.fischer@ettus.com> - 2016-04-03 19:30 +0200 [PATCH v3 4/5] net: macb: Use ether_addr_copy over memcpy Moritz Fischer <moritz.fischer@ettus.com> - 2016-04-03 19:30 +0200 Re: [PATCH v3 0/5] macb: Codingstyle cleanups David Miller <davem@davemloft.net> - 2016-04-04 22:20 +0200
csiph-web