]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
net/sock.h: make some fields private to fix kernel-doc warning(s)
authorRandy Dunlap <randy.dunlap@oracle.com>
Sat, 8 Jan 2011 17:39:21 +0000 (17:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Jan 2011 00:26:51 +0000 (16:26 -0800)
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>
include/net/sock.h

index 21a02f7e4f4565f6f5e76b1a8957a107b646379b..d884d268c704955711a2ee81010ac9a7738b8cfc 100644 (file)
@@ -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: */
 };
 
 /**