summaryrefslogtreecommitdiff
path: root/arch/x86/lib/csum-partial_64.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/lib/csum-partial_64.c')
-rw-r--r--arch/x86/lib/csum-partial_64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/csum-partial_64.c b/arch/x86/lib/csum-partial_64.c
index 9baca3e054be..e7925d668b68 100644
--- a/arch/x86/lib/csum-partial_64.c
+++ b/arch/x86/lib/csum-partial_64.c
@@ -94,7 +94,7 @@ static unsigned do_csum(const unsigned char *buff, unsigned len)
: "m" (*(unsigned long *)buff),
"r" (zero), "0" (result));
--count;
- buff += 8;
+ buff += 8;
}
result = add32_with_carry(result>>32,
result&0xffffffff);