🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
2 messages
2 total messages Started by Randy Dunlap Sun, 11 Oct 2026 03:28
[PATCH net-next] net: dccp: uapi: clean up kernel-doc comments
#1837
Author: Randy Dunlap
Date: Sun, 11 Oct 2026 03:28
100 lines
9958 bytes
Use correct kernel-doc format for struct members and add comments for
missing struct members (dccph_seq2 and reserved).

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
---
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@kernel.org>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Simon Horman <horms@kernel.org>

 include/uapi/linux/dccp.h |   41 ++++++++++++++++++++----------------
 1 file changed, 23 insertions(+), 18 deletions(-)

--- linext-2026-1007.orig/include/uapi/linux/dccp.h
+++ linext-2026-1007/include/uapi/linux/dccp.h
@@ -8,15 +8,19 @@
 /**
  * struct dccp_hdr - generic part of DCCP packet header
  *
- * @dccph_sport - Relevant port on the endpoint that sent this packet
- * @dccph_dport - Relevant port on the other endpoint
- * @dccph_doff - Data Offset from the start of the DCCP header, in 32-bit words
- * @dccph_ccval - Used by the HC-Sender CCID
- * @dccph_cscov - Parts of the packet that are covered by the Checksum field
- * @dccph_checksum - Internet checksum, depends on dccph_cscov
- * @dccph_x - 0 = 24 bit sequence number, 1 = 48
- * @dccph_type - packet type, see DCCP_PKT_ prefixed macros
- * @dccph_seq - sequence number high or low order 24 bits, depends on dccph_x
+ * @dccph_sport: Relevant port on the endpoint that sent this packet
+ * @dccph_dport: Relevant port on the other endpoint
+ * @dccph_doff: Data Offset from the start of the DCCP header, in 32-bit words
+ * @dccph_ccval: Used by the HC-Sender CCID
+ * @dccph_cscov: Parts of the packet that are covered by the Checksum field
+ * @dccph_checksum: Internet checksum, depends on dccph_cscov
+ * @dccph_x: 0 = 24 bit sequence number, 1 = 48
+ * @dccph_type: packet type, see DCCP_PKT_ prefixed macros
+ * @dccph_reserved: reserved bits
+ * @dccph_seq: sequence number high or low order lower 16 bits,
+ *  depends on dccph_x
+ * @dccph_seq2: sequence number high or low order upper 8 bits,
+ *  depends on dccph_x
  */
 struct dccp_hdr {
 	__be16	dccph_sport,
@@ -50,7 +54,7 @@ struct dccp_hdr {
 /**
  * struct dccp_hdr_ext - the low bits of a 48 bit seq packet
  *
- * @dccph_seq_low - low 24 bits of a 48 bit seq packet
+ * @dccph_seq_low: low 24 bits of a 48 bit seq packet
  */
 struct dccp_hdr_ext {
 	__be32	dccph_seq_low;
@@ -59,7 +63,7 @@ struct dccp_hdr_ext {
 /**
  * struct dccp_hdr_request - Connection initiation request header
  *
- * @dccph_req_service - Service to which the client app wants to connect
+ * @dccph_req_service: Service to which the client app wants to connect
  */
 struct dccp_hdr_request {
 	__be32	dccph_req_service;
@@ -67,8 +71,9 @@ struct dccp_hdr_request {
 /**
  * struct dccp_hdr_ack_bits - acknowledgment bits common to most packets
  *
- * @dccph_resp_ack_nr_high - 48 bit ack number high order bits, contains GSR
- * @dccph_resp_ack_nr_low - 48 bit ack number low order bits, contains GSR
+ * @dccph_reserved1: reserved bits
+ * @dccph_ack_nr_high: 48 bit ack number high order bits, contains GSR
+ * @dccph_ack_nr_low: 48 bit ack number low order bits, contains GSR
  */
 struct dccp_hdr_ack_bits {
 	__be16	dccph_reserved1;
@@ -78,8 +83,8 @@ struct dccp_hdr_ack_bits {
 /**
  * struct dccp_hdr_response - Connection initiation response header
  *
- * @dccph_resp_ack - 48 bit Acknowledgment Number Subheader (5.3)
- * @dccph_resp_service - Echoes the Service Code on a received DCCP-Request
+ * @dccph_resp_ack: 48 bit Acknowledgment Number Subheader (5.3)
+ * @dccph_resp_service: Echoes the Service Code on a received DCCP-Request
  */
 struct dccp_hdr_response {
 	struct dccp_hdr_ack_bits	dccph_resp_ack;
@@ -89,9 +94,9 @@ struct dccp_hdr_response {
 /**
  * struct dccp_hdr_reset - Unconditionally shut down a connection
  *
- * @dccph_reset_ack - 48 bit Acknowledgment Number Subheader (5.6)
- * @dccph_reset_code - one of %dccp_reset_codes
- * @dccph_reset_data - the Data 1 ... Data 3 fields from 5.6
+ * @dccph_reset_ack: 48 bit Acknowledgment Number Subheader (5.6)
+ * @dccph_reset_code: one of %dccp_reset_codes
+ * @dccph_reset_data: the Data 1 ... Data 3 fields from 5.6
  */
 struct dccp_hdr_reset {
 	struct dccp_hdr_ack_bits	dccph_reset_ack;
Re: [PATCH net-next] net: dccp: uapi: clean up kernel-doc comments
#3779
Author: patchwork-bot+netdevbpf
Date: Fri, 16 Oct 2026 00:50
28 lines
6311 bytes
Hello:

This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Sat, 10 Oct 2026 20:28:00 -0700 you wrote:
> Use correct kernel-doc format for struct members and add comments for
> missing struct members (dccph_seq2 and reserved).
> 
> Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
> ---
> Cc: "David S. Miller" <davem@davemloft.net>
> Cc: Eric Dumazet <edumazet@kernel.org>
> Cc: Jakub Kicinski <kuba@kernel.org>
> Cc: Paolo Abeni <pabeni@redhat.com>
> Cc: Simon Horman <horms@kernel.org>
> 
> [...]

Here is the summary with links:
  - [net-next] net: dccp: uapi: clean up kernel-doc comments
    https://git.kernel.org/netdev/net-next/c/8241cd8ebe01

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

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads