[PATCH -next 0/3] net: llc: Correct some function names in header

STALE1961d

5 messages, 2 authors, 2021-03-26 · open the first message on its own page

[PATCH -next 0/3] net: llc: Correct some function names in header

From: Yang Yingliang <hidden>
Date: 2021-03-26 10:11:28

Fix some make W=1 kernel build warnings in net/llc/

Yang Yingliang (3):
  net: llc: Correct some function names in header
  net: llc: Correct function name llc_sap_action_unitdata_ind() in
    header
  net: llc: Correct function name llc_pdu_set_pf_bit() in header

 net/llc/llc_c_ev.c | 4 ++--
 net/llc/llc_pdu.c  | 2 +-
 net/llc/llc_s_ac.c | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)

-- 
2.25.1

[PATCH -next 2/3] net: llc: Correct function name llc_sap_action_unitdata_ind() in header

From: Yang Yingliang <hidden>
Date: 2021-03-26 10:11:28

Fix the following make W=1 kernel build warning:

  net/llc/llc_s_ac.c:38: warning: expecting prototype for llc_sap_action_unit_data_ind(). Prototype was for llc_sap_action_unitdata_ind() instead

Reported-by: Hulk Robot <redacted>
Signed-off-by: Yang Yingliang <redacted>
---
 net/llc/llc_s_ac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/llc/llc_s_ac.c b/net/llc/llc_s_ac.c
index 7ae4cc684d3a..b554f26c68ee 100644
--- a/net/llc/llc_s_ac.c
+++ b/net/llc/llc_s_ac.c
@@ -27,7 +27,7 @@
 
 
 /**
- *	llc_sap_action_unit_data_ind - forward UI PDU to network layer
+ *	llc_sap_action_unitdata_ind - forward UI PDU to network layer
  *	@sap: SAP
  *	@skb: the event to forward
  *
-- 
2.25.1

[PATCH -next 3/3] net: llc: Correct function name llc_pdu_set_pf_bit() in header

From: Yang Yingliang <hidden>
Date: 2021-03-26 10:11:28

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 <redacted>
Signed-off-by: Yang Yingliang <redacted>
---
 net/llc/llc_pdu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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).
  *
-- 
2.25.1

[PATCH -next 1/3] net: llc: Correct some function names in header

From: Yang Yingliang <hidden>
Date: 2021-03-26 10:11:28

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 <redacted>
Signed-off-by: Yang Yingliang <redacted>
---
 net/llc/llc_c_ev.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/llc/llc_c_ev.c b/net/llc/llc_c_ev.c
index 523fdd1cf781..d6627a80cb45 100644
--- a/net/llc/llc_c_ev.c
+++ b/net/llc/llc_c_ev.c
@@ -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.
  *
-- 
2.25.1

Re: [PATCH -next 0/3] net: llc: Correct some function names in header

From: patchwork-bot+netdevbpf@kernel.org
Date: 2021-03-26 23:01:16

Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Fri, 26 Mar 2021 18:13:47 +0800 you wrote:
Fix some make W=1 kernel build warnings in net/llc/

Yang Yingliang (3):
  net: llc: Correct some function names in header
  net: llc: Correct function name llc_sap_action_unitdata_ind() in
    header
  net: llc: Correct function name llc_pdu_set_pf_bit() in header

[...]
Here is the summary with links:
  - [-next,1/3] net: llc: Correct some function names in header
    https://git.kernel.org/netdev/net-next/c/26440a63a1ac
  - [-next,2/3] net: llc: Correct function name llc_sap_action_unitdata_ind() in header
    https://git.kernel.org/netdev/net-next/c/8114f099d937
  - [-next,3/3] net: llc: Correct function name llc_pdu_set_pf_bit() in header
    https://git.kernel.org/netdev/net-next/c/72e6afe6b4b3

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help