projects
/
platform
/
kernel
/
linux-rpi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'usb-6.3-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
[platform/kernel/linux-rpi.git]
/
crypto
/
shash.c
diff --git
a/crypto/shash.c
b/crypto/shash.c
index
868b6ba
..
58b46f1
100644
(file)
--- a/
crypto/shash.c
+++ b/
crypto/shash.c
@@
-320,10
+320,10
@@
int shash_ahash_digest(struct ahash_request *req, struct shash_desc *desc)
nbytes <= min(sg->length, ((unsigned int)(PAGE_SIZE)) - offset))) {
void *data;
nbytes <= min(sg->length, ((unsigned int)(PAGE_SIZE)) - offset))) {
void *data;
- data = kmap_
atomic
(sg_page(sg));
+ data = kmap_
local_page
(sg_page(sg));
err = crypto_shash_digest(desc, data + offset, nbytes,
req->result);
err = crypto_shash_digest(desc, data + offset, nbytes,
req->result);
- kunmap_
atomic
(data);
+ kunmap_
local
(data);
} else
err = crypto_shash_init(desc) ?:
shash_ahash_finup(req, desc);
} else
err = crypto_shash_init(desc) ?:
shash_ahash_finup(req, desc);