summaryrefslogtreecommitdiff
path: root/src/lib/compute_ip_checksum.c
diff options
context:
space:
mode:
authorMartin Roth <martin.roth@se-eng.com>2013-07-09 21:51:14 -0600
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-07-10 20:17:51 +0200
commitcbf2bd715a6a3c5d758c52b4634284b260805d17 (patch)
tree7ab8f3e81ac8ca14c6c37e4bf733332a99d0acb1 /src/lib/compute_ip_checksum.c
parent63373edce006983d1e2aef7d71c1653ae337ed18 (diff)
downloadcoreboot-cbf2bd715a6a3c5d758c52b4634284b260805d17.tar.xz
lib: Fix spelling
Change-Id: I999987af9cb44906e3c3135c0351a0cd6eb210ff Signed-off-by: Martin Roth <martin.roth@se-eng.com> Reviewed-on: http://review.coreboot.org/3756 Reviewed-by: Dave Frodin <dave.frodin@se-eng.com> Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/lib/compute_ip_checksum.c')
-rw-r--r--src/lib/compute_ip_checksum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/compute_ip_checksum.c b/src/lib/compute_ip_checksum.c
index 48f93d4699..58a6bf1ee4 100644
--- a/src/lib/compute_ip_checksum.c
+++ b/src/lib/compute_ip_checksum.c
@@ -40,7 +40,7 @@ unsigned long add_ip_checksums(unsigned long offset, unsigned long sum, unsigned
new = ~new & 0xFFFF;
if (offset & 1) {
/* byte swap the sum if it came from an odd offset
- * since the computation is endian independant this
+ * since the computation is endian independent this
* works.
*/
new = ((new >> 8) & 0xff) | ((new << 8) & 0xff00);