Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 928c41e7 authored by Randy Dunlap's avatar Randy Dunlap Committed by David S. Miller
Browse files

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



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]'

Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0ab03c2b
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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: */
};

/**