[PATCH 10/35] dccp: Reorganize kerneldoc parameter names

Julia Lawall posted 35 patches 1 month, 4 weeks ago
[PATCH 10/35] dccp: Reorganize kerneldoc parameter names
Posted by Julia Lawall 1 month, 4 weeks ago
Reorganize kerneldoc parameter names to match the parameter
order in the function header.

Problems identified using Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>

---
 net/dccp/feat.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/dccp/feat.c b/net/dccp/feat.c
index 54086bb05c42..90ac50556ee0 100644
--- a/net/dccp/feat.c
+++ b/net/dccp/feat.c
@@ -626,9 +626,9 @@ static u8 dccp_feat_sp_list_ok(u8 feat_num, u8 const *sp_list, u8 sp_len)
 
 /**
  * dccp_feat_insert_opts  -  Generate FN options from current list state
- * @skb: next sk_buff to be sent to the peer
  * @dp: for client during handshake and general negotiation
  * @dreq: used by the server only (all Changes/Confirms in LISTEN/RESPOND)
+ * @skb: next sk_buff to be sent to the peer
  */
 int dccp_feat_insert_opts(struct dccp_sock *dp, struct dccp_request_sock *dreq,
 			  struct sk_buff *skb)