diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2011-01-08 12:39:21 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-01-09 19:26:51 -0500 |
commit | 928c41e7a15d1164bb725f3445575f4651b5b9f0 (patch) | |
tree | 9e46a8e57d9ee136bd3ba7c21102533c9bf3e287 /include | |
parent | 0ab03c2b1478f2438d2c80204f7fef65b1bca9cf (diff) |
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: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/sock.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/net/sock.h b/include/net/sock.h index 21a02f7e4f45..d884d268c704 100644 --- a/include/net/sock.h +++ b/include/net/sock.h | |||
@@ -152,14 +152,18 @@ struct sock_common { | |||
152 | * fields between dontcopy_begin/dontcopy_end | 152 | * fields between dontcopy_begin/dontcopy_end |
153 | * are not copied in sock_copy() | 153 | * are not copied in sock_copy() |
154 | */ | 154 | */ |
155 | /* private: */ | ||
155 | int skc_dontcopy_begin[0]; | 156 | int skc_dontcopy_begin[0]; |
157 | /* public: */ | ||
156 | union { | 158 | union { |
157 | struct hlist_node skc_node; | 159 | struct hlist_node skc_node; |
158 | struct hlist_nulls_node skc_nulls_node; | 160 | struct hlist_nulls_node skc_nulls_node; |
159 | }; | 161 | }; |
160 | int skc_tx_queue_mapping; | 162 | int skc_tx_queue_mapping; |
161 | atomic_t skc_refcnt; | 163 | atomic_t skc_refcnt; |
164 | /* private: */ | ||
162 | int skc_dontcopy_end[0]; | 165 | int skc_dontcopy_end[0]; |
166 | /* public: */ | ||
163 | }; | 167 | }; |
164 | 168 | ||
165 | /** | 169 | /** |