summaryrefslogtreecommitdiffstats
path: root/net/llc
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-03-26 18:13:50 +0800
committerDavid S. Miller <davem@davemloft.net>2021-03-26 15:24:14 -0700
commit72e6afe6b4b3aee69b2dae1ac8b32efc503b48ab (patch)
treee43e7223c2f56b5e26ed0100a0e203944dd69b6c /net/llc
parent8114f099d93729642f70fe4fc40f159e208acfc4 (diff)
downloadlinux-72e6afe6b4b3aee69b2dae1ac8b32efc503b48ab.tar.gz
linux-72e6afe6b4b3aee69b2dae1ac8b32efc503b48ab.tar.bz2
linux-72e6afe6b4b3aee69b2dae1ac8b32efc503b48ab.zip
net: llc: Correct function name llc_pdu_set_pf_bit() in header
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>
Diffstat (limited to 'net/llc')
-rw-r--r--net/llc/llc_pdu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/llc/llc_pdu.c b/net/llc/llc_pdu.c
index 792d195c8bae..63749dde542f 100644
--- a/net/llc/llc_pdu.c
+++ b/net/llc/llc_pdu.c
@@ -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).
*