summaryrefslogtreecommitdiff
path: root/src/lib/compute_ip_checksum.c
diff options
context:
space:
mode:
authorLee Leahy <leroy.p.leahy@intel.com>2017-03-10 15:23:24 -0800
committerMartin Roth <martinroth@google.com>2017-03-13 17:21:02 +0100
commit7340217262759c3daab41466138ba7d40a8f13d5 (patch)
treeded1fda647d4d9415f061ae5ac15ee4c685c7d48 /src/lib/compute_ip_checksum.c
parentb1260553be842dd82b0b022dd40a22527d3e3659 (diff)
downloadcoreboot-7340217262759c3daab41466138ba7d40a8f13d5.tar.xz
src/lib: Wrap lines at 80 columns
Fix the following warning detected by checkpatch.pl: WARNING: line over 80 characters TEST=Build and run on Galileo Gen2 Change-Id: I5fa3f8e950e2f0c60bd0e8f030342dc8c0469299 Signed-off-by: Lee Leahy <Leroy.P.Leahy@intel.com> Reviewed-on: https://review.coreboot.org/18758 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/lib/compute_ip_checksum.c')
-rw-r--r--src/lib/compute_ip_checksum.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/compute_ip_checksum.c b/src/lib/compute_ip_checksum.c
index 0d3394e712..8aa01333bc 100644
--- a/src/lib/compute_ip_checksum.c
+++ b/src/lib/compute_ip_checksum.c
@@ -31,7 +31,8 @@ unsigned long compute_ip_checksum(const void *addr, unsigned long length)
return (~value.word) & 0xFFFF;
}
-unsigned long add_ip_checksums(unsigned long offset, unsigned long sum, unsigned long new)
+unsigned long add_ip_checksums(unsigned long offset, unsigned long sum,
+ unsigned long new)
{
unsigned long checksum;
sum = ~sum & 0xFFFF;