diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 17:09:46 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-04-15 17:09:46 -0400 |
commit | eccd02f32a2c25139da2d5e72ebab1fee7b5baab (patch) | |
tree | 5c89a70e59716e66a3ee9528aa4c36c1803a9340 | |
parent | fa2e5c073a355465a2a8c9a2fbecf404f9857c3a (diff) |
crypto: fix mis-merge with the networking merge
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 <torvalds@linux-foundation.org>
-rw-r--r-- | crypto/algif_aead.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/crypto/algif_aead.c b/crypto/algif_aead.c index 527d27b023ab..00a6fe166fed 100644 --- a/crypto/algif_aead.c +++ b/crypto/algif_aead.c | |||
@@ -163,8 +163,7 @@ static void aead_data_wakeup(struct sock *sk) | |||
163 | rcu_read_unlock(); | 163 | rcu_read_unlock(); |
164 | } | 164 | } |
165 | 165 | ||
166 | static int aead_sendmsg(struct kiocb *unused, struct socket *sock, | 166 | static int aead_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) |
167 | struct msghdr *msg, size_t size) | ||
168 | { | 167 | { |
169 | struct sock *sk = sock->sk; | 168 | struct sock *sk = sock->sk; |
170 | struct alg_sock *ask = alg_sk(sk); | 169 | struct alg_sock *ask = alg_sk(sk); |
@@ -348,8 +347,7 @@ unlock: | |||
348 | return err ?: size; | 347 | return err ?: size; |
349 | } | 348 | } |
350 | 349 | ||
351 | static int aead_recvmsg(struct kiocb *unused, struct socket *sock, | 350 | static int aead_recvmsg(struct socket *sock, struct msghdr *msg, size_t ignored, int flags) |
352 | struct msghdr *msg, size_t ignored, int flags) | ||
353 | { | 351 | { |
354 | struct sock *sk = sock->sk; | 352 | struct sock *sk = sock->sk; |
355 | struct alg_sock *ask = alg_sk(sk); | 353 | struct alg_sock *ask = alg_sk(sk); |