]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
net: llc: Correct function name llc_pdu_set_pf_bit() in header
authorYang Yingliang <yangyingliang@huawei.com>
Fri, 26 Mar 2021 10:13:50 +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_pdu.c:36: warning: expecting prototype for pdu_set_pf_bit(). Prototype was for llc_pdu_set_pf_bit() 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_pdu.c

index 792d195c8bae8b8d4bf35a6a28b9aa89a5bad815..63749dde542f863a277a4e8cd4988e7f43093359 100644 (file)
@@ -24,7 +24,7 @@ void llc_pdu_set_cmd_rsp(struct sk_buff *skb, u8 pdu_type)
 }
 
 /**
- *     pdu_set_pf_bit - sets poll/final bit in LLC header
+ *     llc_pdu_set_pf_bit - sets poll/final bit in LLC header
  *     @skb: Frame to set bit in
  *     @bit_value: poll/final bit (0 or 1).
  *