projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6
[powerpc.git]
/
crypto
/
tcrypt.c
diff --git
a/crypto/tcrypt.c
b/crypto/tcrypt.c
index
18d489c
..
d741c63
100644
(file)
--- a/
crypto/tcrypt.c
+++ b/
crypto/tcrypt.c
@@
-317,7
+317,7
@@
static void test_cipher(char *algo, int enc,
goto out;
}
goto out;
}
- q = kmap(sg
[0].page
) + sg[0].offset;
+ q = kmap(sg
_page(&sg[0])
) + sg[0].offset;
hexdump(q, cipher_tv[i].rlen);
printk("%s\n",
hexdump(q, cipher_tv[i].rlen);
printk("%s\n",
@@
-390,7
+390,7
@@
static void test_cipher(char *algo, int enc,
temp = 0;
for (k = 0; k < cipher_tv[i].np; k++) {
printk("page %u\n", k);
temp = 0;
for (k = 0; k < cipher_tv[i].np; k++) {
printk("page %u\n", k);
- q = kmap(sg
[k].page
) + sg[k].offset;
+ q = kmap(sg
_page(&sg[k])
) + sg[k].offset;
hexdump(q, cipher_tv[i].tap[k]);
printk("%s\n",
memcmp(q, cipher_tv[i].result + temp,
hexdump(q, cipher_tv[i].tap[k]);
printk("%s\n",
memcmp(q, cipher_tv[i].result + temp,