]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
net: llc: Correct some function names in header
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 26 Mar 2021 10:13:48 +0000 (18:13 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Mar 2021 22:24:14 +0000 (15:24 -0700)
Fix the following make W=1 kernel build warning:

 net/llc/llc_c_ev.c:622: warning: expecting prototype for conn_ev_qlfy_last_frame_eq_1(). Prototype was for llc_conn_ev_qlfy_last_frame_eq_1() instead
 net/llc/llc_c_ev.c:636: warning: expecting prototype for conn_ev_qlfy_last_frame_eq_0(). Prototype was for llc_conn_ev_qlfy_last_frame_eq_0() instead

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/llc/llc_c_ev.c

index 523fdd1cf7814e6f623c4dc471cc8b43bd0fb7fa..d6627a80cb459b2e8ffaa19b6e387e2248272e02 100644 (file)
@@ -608,7 +608,7 @@ int llc_conn_ev_qlfy_p_flag_eq_1(struct sock *sk, struct sk_buff *skb)
 }
 
 /**
- *     conn_ev_qlfy_last_frame_eq_1 - checks if frame is last in tx window
+ *     llc_conn_ev_qlfy_last_frame_eq_1 - checks if frame is last in tx window
  *     @sk: current connection structure.
  *     @skb: current event.
  *
@@ -624,7 +624,7 @@ int llc_conn_ev_qlfy_last_frame_eq_1(struct sock *sk, struct sk_buff *skb)
 }
 
 /**
- *     conn_ev_qlfy_last_frame_eq_0 - checks if frame isn't last in tx window
+ *     llc_conn_ev_qlfy_last_frame_eq_0 - checks if frame isn't last in tx window
  *     @sk: current connection structure.
  *     @skb: current event.
  *