From 45fde705b627d6194f795237647ce42eb535d1c3 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Wed, 8 Mar 2017 18:02:24 -0800 Subject: src/lib: Add space before ( MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix the following error detected by checkpatch.pl: ERROR: space required before the open parenthesis '(' TEST=Build and run on Galileo Gen2 Change-Id: I8953fecbe75136ff989c9e3cf6c5e155dcee3c3b Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/18698 Reviewed-by: Philippe Mathieu-Daudé Tested-by: build bot (Jenkins) Reviewed-by: Arthur Heymans --- src/lib/compute_ip_checksum.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/compute_ip_checksum.c') diff --git a/src/lib/compute_ip_checksum.c b/src/lib/compute_ip_checksum.c index 9bd3e0a2cb..0d3394e712 100644 --- a/src/lib/compute_ip_checksum.c +++ b/src/lib/compute_ip_checksum.c @@ -15,7 +15,7 @@ unsigned long compute_ip_checksum(const void *addr, unsigned long length) */ sum = 0; ptr = addr; - for(i = 0; i < length; i++) { + for (i = 0; i < length; i++) { unsigned long v; v = ptr[i]; if (i & 1) -- cgit v1.2.3