Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 01cb8a1a authored by YueHaibing's avatar YueHaibing Committed by David S. Miller
Browse files

net/tls: Make function tls_sw_do_sendpage static



Fixes the following sparse warning:

 net/tls/tls_sw.c:1023:5: warning:
 symbol 'tls_sw_do_sendpage' was not declared. Should it be static?

Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f3de19af
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1020,7 +1020,7 @@ int tls_sw_sendmsg(struct sock *sk, struct msghdr *msg, size_t size)
	return copied ? copied : ret;
}

int tls_sw_do_sendpage(struct sock *sk, struct page *page,
static int tls_sw_do_sendpage(struct sock *sk, struct page *page,
			      int offset, size_t size, int flags)
{
	long timeo = sock_sndtimeo(sk, flags & MSG_DONTWAIT);