Thread (14 messages) 14 messages, 7 authors, 2024-12-20

[PATCH 16/35] net: Reorganize kerneldoc parameter names

From: Julia Lawall <Julia.Lawall@inria.fr>
Date: 2024-09-30 11:21:48
Also in: kernel-janitors, lkml
Subsystem: networking [general], networking [sockets], the rest · Maintainers: "David S. Miller", Eric Dumazet, Jakub Kicinski, Paolo Abeni, Kuniyuki Iwashima, Willem de Bruijn, Linus Torvalds

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/socket.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/socket.c b/net/socket.c
index 601ad74930ef..f4ac3939fbb0 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -235,8 +235,8 @@ static const struct net_proto_family __rcu *net_families[NPROTO] __read_mostly;
 /**
  *	move_addr_to_kernel	-	copy a socket address into kernel space
  *	@uaddr: Address in user space
- *	@kaddr: Address in kernel space
  *	@ulen: Length in user space
+ *	@kaddr: Address in kernel space
  *
  *	The address is copied into kernel space. If the provided address is
  *	too long an error code of -EINVAL is returned. If the copy gives
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help