summaryrefslogtreecommitdiff
path: root/src/drivers/net
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-08-25 20:50:50 +0200
committerMartin Roth <martinroth@google.com>2016-08-31 20:12:07 +0200
commit2e4d80687dd79890c7c9edad8dbaf6e89edf2afc (patch)
tree4120f7e399220dcbb8425d5c5ba4cc05a63534b8 /src/drivers/net
parentd75b04f2b3baf75fdc52b06a319dddf0386f8e59 (diff)
downloadcoreboot-2e4d80687dd79890c7c9edad8dbaf6e89edf2afc.tar.xz
src/drivers: Add required space before opening parenthesis '('
Change-Id: I4d0087b2557862d04be54cf42f01b3223cb723ac Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16321 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/drivers/net')
-rw-r--r--src/drivers/net/ne2k.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/net/ne2k.c b/src/drivers/net/ne2k.c
index b59fe082fd..ed56006ec4 100644
--- a/src/drivers/net/ne2k.c
+++ b/src/drivers/net/ne2k.c
@@ -153,7 +153,7 @@ unsigned long compute_ip_checksum_from_sram(unsigned short offset, unsigned shor
* compute an ip style checksum.
*/
sum = 0;
- for(i = 0; i < length; i++) {
+ for (i = 0; i < length; i++) {
unsigned long v;
v = eth_pio_read_byte((TX_START << 8)+i+offset, eth_nic_base);
if (i & 1) {