From: Yang Yingliang Date: Fri, 26 Mar 2021 10:13:50 +0000 (+0800) Subject: net: llc: Correct function name llc_pdu_set_pf_bit() in header X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=72e6afe6b4b3aee69b2dae1ac8b32efc503b48ab;p=linux.git 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 Signed-off-by: Yang Yingliang Signed-off-by: David S. Miller --- diff --git a/net/llc/llc_pdu.c b/net/llc/llc_pdu.c index 792d195c8bae8..63749dde542f8 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). *