mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
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: YueHaibing <yuehaibing@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
f3de19af0f
commit
01cb8a1a64
@ -1020,8 +1020,8 @@ send_end:
|
||||
return copied ? copied : ret;
|
||||
}
|
||||
|
||||
int tls_sw_do_sendpage(struct sock *sk, struct page *page,
|
||||
int offset, size_t size, int flags)
|
||||
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);
|
||||
struct tls_context *tls_ctx = tls_get_ctx(sk);
|
||||
|
Loading…
Reference in New Issue
Block a user