projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/crc32test: correct printed bytes count
[linux-2.6-microblaze.git]
/
lib
/
crc32test.c
diff --git
a/lib/crc32test.c
b/lib/crc32test.c
index
61ddce2
..
9b4af79
100644
(file)
--- a/
lib/crc32test.c
+++ b/
lib/crc32test.c
@@
-675,7
+675,7
@@
static int __init crc32c_test(void)
/* pre-warm the cache */
for (i = 0; i < 100; i++) {
- bytes +=
2*
test[i].length;
+ bytes += test[i].length;
crc ^= __crc32c_le(test[i].crc, test_buf +
test[i].start, test[i].length);