Skip to contentSkip to conversation

net/sock.h: make some fields private to fix kernel-doc warning(s)

PATCH Applied Randy Dunlap 2 participants 2 messages Jan 9, 2011 – Jan 10, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 4/6 net/sock.h: make some fields private to fix kernel-doc warning(s)

From: Randy Dunlap <[email protected]>

Fix new kernel-doc notation warning in sock.h by annotating skc_dontcopy_* as private fields.

Warning(include/net/sock.h:163): No description found for parameter 'skc_dontcopy_end[0]'

---
 include/net/sock.h |    4 ++++
 1 file changed, 4 insertions(+)
include/net/sock.h +4 -0
@@ -152,14 +152,18 @@ struct sock_common {
 	 * fields between dontcopy_begin/dontcopy_end
 	 * are not copied in sock_copy()
 	 */
+	/* private: */
 	int			skc_dontcopy_begin[0];
+	/* public: */
 	union {
 		struct hlist_node	skc_node;
 		struct hlist_nulls_node skc_nulls_node;
 	};
 	int			skc_tx_queue_mapping;
 	atomic_t		skc_refcnt;
+	/* private: */
 	int                     skc_dontcopy_end[0];
+	/* public: */
 };
 
 /**