net/ipv4/tcp_authopt.c:820:5: warning: symbol '__tcp_authopt_calc_mac' was not declared. Should it be static? Reported-by: kernel test robot Signed-off-by: kernel test robot --- tcp_authopt.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/net/ipv4/tcp_authopt.c b/net/ipv4/tcp_authopt.c index 2a3463ad68967..1b81fa54a9f2a 100644 --- a/net/ipv4/tcp_authopt.c +++ b/net/ipv4/tcp_authopt.c @@ -817,11 +817,11 @@ static int tcp_authopt_hash_packet(struct crypto_shash *tfm, return crypto_shash_final(desc, macbuf); } -int __tcp_authopt_calc_mac(struct sock *sk, - struct sk_buff *skb, - struct tcp_authopt_key_info *key, - bool input, - char *macbuf) +static int __tcp_authopt_calc_mac(struct sock *sk, + struct sk_buff *skb, + struct tcp_authopt_key_info *key, + bool input, + char *macbuf) { struct crypto_shash *mac_tfm; u8 traffic_key[TCP_AUTHOPT_MAX_TRAFFIC_KEY_LEN];