projects/linux·commit eccd02f3

crypto: fix mis-merge with the networking merge

eccd02f3 · Linus Torvalds <[email protected]> · 2015-04-15 14:09:46 -07:00

The networking updates from David Miller removed the iocb argument from
sendmsg and recvmsg (in commit 1b784140474e: "net: Remove iocb argument
from sendmsg and recvmsg"), but the crypto code had added new instances
of them.

When I pulled the crypto update, it was a silent semantic mis-merge, and
I overlooked the new warning messages in my test-build.  I try to fix
those in the merge itself, but that relies on me noticing. Oh well.

Signed-off-by: Linus Torvalds <[email protected]>
Commit
eccd02f32a2c25139da2d5e72ebab1fee7b5baab
Parents
fa2e5c07

Changes

1 files changed · +2 −4

FileStatusAddDelContent
crypto/algif_aead.cmodified+2−4View file

crypto/algif_aead.c

View file
diff --git a/crypto/algif_aead.c b/crypto/algif_aead.c
index 527d27b..00a6fe1 100644
--- a/crypto/algif_aead.c
+++ b/crypto/algif_aead.c
@@ -163,8 +163,7 @@ static void aead_data_wakeup(struct sock *sk)
rcu_read_unlock();
}
-static int aead_sendmsg(struct kiocb *unused, struct socket *sock,
- struct msghdr *msg, size_t size)
+static int aead_sendmsg(struct socket *sock, struct msghdr *msg, size_t size)
{
struct sock *sk = sock->sk;
struct alg_sock *ask = alg_sk(sk);
@@ -348,8 +347,7 @@ unlock:
return err ?: size;
}
-static int aead_recvmsg(struct kiocb *unused, struct socket *sock,
- struct msghdr *msg, size_t ignored, int flags)
+static int aead_recvmsg(struct socket *sock, struct msghdr *msg, size_t ignored, int flags)
{
struct sock *sk = sock->sk;
struct alg_sock *ask = alg_sk(sk);