Skip to content

Commit

Permalink
crypto: fix mis-merge with the networking merge
Browse files Browse the repository at this point in the history
The networking updates from David Miller removed the iocb argument from
sendmsg and recvmsg (in commit 1b78414: "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]>
  • Loading branch information
torvalds committed Apr 15, 2015
1 parent fa2e5c0 commit eccd02f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions crypto/algif_aead.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -348,8 +347,7 @@ static ssize_t aead_sendpage(struct socket *sock, struct page *page,
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);
Expand Down

0 comments on commit eccd02f

Please sign in to comment.