summaryrefslogtreecommitdiff
path: root/crypto/algif_hash.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2014-04-06 21:51:23 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2014-11-24 04:28:51 -0500
commit21771e33272323fb817f554b4201c7c0ef160a65 (patch)
treec200f4258752e47c1e6b53aca7d83a2730fad832 /crypto/algif_hash.c
parent2964c50cc8bf4f5c1853155c552a9ce0a26e4854 (diff)
downloadlinux-crypto-21771e33272323fb817f554b4201c7c0ef160a65.tar.gz
linux-crypto-21771e33272323fb817f554b4201c7c0ef160a65.zip
new helper: memcpy_to_msg()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'crypto/algif_hash.c')
-rw-r--r--crypto/algif_hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/algif_hash.c b/crypto/algif_hash.c
index 85024620..35c93ff1 100644
--- a/crypto/algif_hash.c
+++ b/crypto/algif_hash.c
@@ -174,7 +174,7 @@ static int hash_recvmsg(struct kiocb *unused, struct socket *sock,
goto unlock;
}
- err = memcpy_toiovec(msg->msg_iov, ctx->result, len);
+ err = memcpy_to_msg(msg, ctx->result, len);
unlock:
release_sock(sk);